Sha256: 8578131cdf549f823b4493053bde3f5f9abcd53842803c7d1946b8b8e5bba2f6

Contents?: true

Size: 938 Bytes

Versions: 4

Compression:

Stored size: 938 Bytes

Contents

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

    # attribute type
    def self.swagger_types
      {
        :'list' => :'Array<TextItem>',
        :'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[:'List']
        if (value = attributes[:'List']).is_a?(Array)
          self.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/text_items.rb
aspose_words_cloud-1.0.2 lib/aspose_words_cloud/models/text_items.rb
aspose_words_cloud-1.0.1 lib/aspose_words_cloud/models/text_items.rb
aspose_words_cloud-1.0.0 lib/aspose_words_cloud/models/text_items.rb