Sha256: 0e53e799555cf11fb42c3f432fa79fea8351927afc8ee48b01b4389cce5ed61b
Contents?: true
Size: 1.24 KB
Versions: 3
Compression:
Stored size: 1.24 KB
Contents
module AsposeTasksCloud # class Value < BaseObject attr_accessor :id, :val, :description, :phonetic # attribute mapping from ruby-style variable name to JSON key def self.attribute_map { # :'id' => :'Id', # :'val' => :'Val', # :'description' => :'Description', # :'phonetic' => :'Phonetic' } end # attribute type def self.swagger_types { :'id' => :'Integer', :'val' => :'String', :'description' => :'String', :'phonetic' => :'String' } 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[:'Id'] self.id = attributes[:'Id'] end if attributes[:'Val'] self.val = attributes[:'Val'] end if attributes[:'Description'] self.description = attributes[:'Description'] end if attributes[:'Phonetic'] self.phonetic = attributes[:'Phonetic'] end end end end
Version data entries
3 entries across 3 versions & 1 rubygems