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