Sha256: 97cbee3e52d7a618f01b930c94b96e4f06b308a86162cb3321b47a29d328ec52

Contents?: true

Size: 1.03 KB

Versions: 4

Compression:

Stored size: 1.03 KB

Contents

module AsposeWordsCloud
  # 
  class ParagraphLinkCollection < BaseObject
    attr_accessor :paragraph_link_list, :link
    # attribute mapping from ruby-style variable name to JSON key
    def self.attribute_map
      {
        
        # 
        :'paragraph_link_list' => :'ParagraphLinkList',
        
        # 
        :'link' => :'link'
        
      }
    end

    # attribute type
    def self.swagger_types
      {
        :'paragraph_link_list' => :'Array<ParagraphLink>',
        :'link' => :'Link'
        
      }
    end

    def initialize(attributes = {})
      return if !attributes.is_a?(Hash) || attributes.empty?

      # convert string to symbol for hash key
      attributes = attributes.inject({}){|memo,(k,v)| memo[k.to_sym] = v; memo}

      
      if attributes[:'ParagraphLinkList']
        if (value = attributes[:'ParagraphLinkList']).is_a?(Array)
          self.paragraph_link_list = value
        end
      end
      
      if attributes[:'link']
        self.link = attributes[:'link']
      end
      
    end

  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
aspose_words_cloud-1.0.3 lib/aspose_words_cloud/models/paragraph_link_collection.rb
aspose_words_cloud-1.0.2 lib/aspose_words_cloud/models/paragraph_link_collection.rb
aspose_words_cloud-1.0.1 lib/aspose_words_cloud/models/paragraph_link_collection.rb
aspose_words_cloud-1.0.0 lib/aspose_words_cloud/models/paragraph_link_collection.rb