class AsposeTasksCloud::Value

Attributes

description[RW]
id[RW]
phonetic[RW]
val[RW]

Public Class Methods

attribute_map() click to toggle source

attribute mapping from ruby-style variable name to JSON key

# File lib/aspose_tasks_cloud/models/value.rb, line 6
def self.attribute_map
  {
    
    #
    :'id' => :'Id',
    
    #
    :'val' => :'Val',
    
    #
    :'description' => :'Description',
    
    #
    :'phonetic' => :'Phonetic'
    
  }
end
new(attributes = {}) click to toggle source
# File lib/aspose_tasks_cloud/models/value.rb, line 35
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
swagger_types() click to toggle source

attribute type

# File lib/aspose_tasks_cloud/models/value.rb, line 25
def self.swagger_types
  {
    :'id' => :'Integer',
    :'val' => :'String',
    :'description' => :'String',
    :'phonetic' => :'String'
    
  }
end