Sha256: 841107adab1ebaea6c65fae4d379b7753493fc5aad4d703e1fda424d50d9938b

Contents?: true

Size: 1.11 KB

Versions: 3

Compression:

Stored size: 1.11 KB

Contents

module AsposeTasksCloud
  # 
  class OutlineCode < BaseObject
    attr_accessor :field_id, :value_id, :value_guid
    # attribute mapping from ruby-style variable name to JSON key
    def self.attribute_map
      {
        
        # 
        :'field_id' => :'FieldId',
        
        # 
        :'value_id' => :'ValueId',
        
        # 
        :'value_guid' => :'ValueGuid'
        
      }
    end

    # attribute type
    def self.swagger_types
      {
        :'field_id' => :'String',
        :'value_id' => :'Integer',
        :'value_guid' => :'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[:'FieldId']
        self.field_id = attributes[:'FieldId']
      end
      
      if attributes[:'ValueId']
        self.value_id = attributes[:'ValueId']
      end
      
      if attributes[:'ValueGuid']
        self.value_guid = attributes[:'ValueGuid']
      end
      
    end

  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
aspose_tasks_cloud-1.0.2 lib/aspose_tasks_cloud/models/outline_code.rb
aspose_tasks_cloud-1.0.1 lib/aspose_tasks_cloud/models/outline_code.rb
aspose_tasks_cloud-1.0.0 lib/aspose_tasks_cloud/models/outline_code.rb