Sha256: 5a0e07a35404c517bf7e6d22113aaa577c368440a29bac0ecdbb842488975436

Contents?: true

Size: 1.27 KB

Versions: 3

Compression:

Stored size: 1.27 KB

Contents

module AsposeTasksCloud
  # 
  class AssignmentItem < BaseObject
    attr_accessor :link, :uid, :task_uid, :resource_uid
    # attribute mapping from ruby-style variable name to JSON key
    def self.attribute_map
      {
        
        # 
        :'link' => :'Link',
        
        # 
        :'uid' => :'Uid',
        
        # 
        :'task_uid' => :'TaskUid',
        
        # 
        :'resource_uid' => :'ResourceUid'
        
      }
    end

    # attribute type
    def self.swagger_types
      {
        :'link' => :'Link',
        :'uid' => :'Integer',
        :'task_uid' => :'Integer',
        :'resource_uid' => :'Integer'
        
      }
    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[:'Link']
        self.link = attributes[:'Link']
      end
      
      if attributes[:'Uid']
        self.uid = attributes[:'Uid']
      end
      
      if attributes[:'TaskUid']
        self.task_uid = attributes[:'TaskUid']
      end
      
      if attributes[:'ResourceUid']
        self.resource_uid = attributes[:'ResourceUid']
      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/assignment_item.rb
aspose_tasks_cloud-1.0.1 lib/aspose_tasks_cloud/models/assignment_item.rb
aspose_tasks_cloud-1.0.0 lib/aspose_tasks_cloud/models/assignment_item.rb