Sha256: 9032dbfa495e52b3c102e6065231bad480674d53e11ad566499a2b319c4e6472
Contents?: true
Size: 1.23 KB
Versions: 4
Compression:
Stored size: 1.23 KB
Contents
module AsposeWordsCloud # class DocumentProperty < BaseObject attr_accessor :name, :value, :built_in, :link # attribute mapping from ruby-style variable name to JSON key def self.attribute_map { # :'name' => :'Name', # :'value' => :'Value', # :'built_in' => :'BuiltIn', # :'link' => :'link' } end # attribute type def self.swagger_types { :'name' => :'String', :'value' => :'String', :'built_in' => :'BOOLEAN', :'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[:'Name'] self.name = attributes[:'Name'] end if attributes[:'Value'] self.value = attributes[:'Value'] end if attributes[:'BuiltIn'] self.built_in = attributes[:'BuiltIn'] end if attributes[:'link'] self.link = attributes[:'link'] end end end end
Version data entries
4 entries across 4 versions & 1 rubygems