Sha256: 82b84a1855e208c2bf46803832bfceb4fead6037bc2b2a7f6e9113d75ced6d36
Contents?: true
Size: 955 Bytes
Versions: 4
Compression:
Stored size: 955 Bytes
Contents
module AsposeWordsCloud # class DocumentProperties < 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<DocumentProperty>', :'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