Class: Pandarus::Progress

Inherits:
ModelBase show all
Defined in:
lib/pandarus/models/progress.rb

Instance Attribute Summary collapse

Class Method Summary collapse

Methods inherited from ModelBase

#assign, #attr, #has_attr?, #initialize, #inspect, #to_body, #vivify

Constructor Details

This class inherits a constructor from Pandarus::ModelBase

Instance Attribute Details

#completionObject

Returns the value of attribute completion.



6
7
8
# File 'lib/pandarus/models/progress.rb', line 6

def completion
  @completion
end

#context_idObject

Returns the value of attribute context_id.



6
7
8
# File 'lib/pandarus/models/progress.rb', line 6

def context_id
  @context_id
end

#context_typeObject

Returns the value of attribute context_type.



6
7
8
# File 'lib/pandarus/models/progress.rb', line 6

def context_type
  @context_type
end

#created_atObject

Returns the value of attribute created_at.



6
7
8
# File 'lib/pandarus/models/progress.rb', line 6

def created_at
  @created_at
end

#idObject

Returns the value of attribute id.



6
7
8
# File 'lib/pandarus/models/progress.rb', line 6

def id
  @id
end

#messageObject

Returns the value of attribute message.



6
7
8
# File 'lib/pandarus/models/progress.rb', line 6

def message
  @message
end

#tagObject

Returns the value of attribute tag.



6
7
8
# File 'lib/pandarus/models/progress.rb', line 6

def tag
  @tag
end

#updated_atObject

Returns the value of attribute updated_at.



6
7
8
# File 'lib/pandarus/models/progress.rb', line 6

def updated_at
  @updated_at
end

#urlObject

Returns the value of attribute url.



6
7
8
# File 'lib/pandarus/models/progress.rb', line 6

def url
  @url
end

#user_idObject

Returns the value of attribute user_id.



6
7
8
# File 'lib/pandarus/models/progress.rb', line 6

def user_id
  @user_id
end

#workflow_stateObject

Returns the value of attribute workflow_state.



6
7
8
# File 'lib/pandarus/models/progress.rb', line 6

def workflow_state
  @workflow_state
end

Class Method Details

.attribute_mapObject



9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# File 'lib/pandarus/models/progress.rb', line 9

def self.attribute_map
  {
    :id => {:external => "id", :container => false, :type => "Integer"},
    :context_id => {:external => "context_id", :container => false, :type => "Integer"},
    :context_type => {:external => "context_type", :container => false, :type => "String"},
    :user_id => {:external => "user_id", :container => false, :type => "Integer"},
    :tag => {:external => "tag", :container => false, :type => "String"},
    :completion => {:external => "completion", :container => false, :type => "Integer"},
    :workflow_state => {:external => "workflow_state", :container => false, :type => "String"},
    :created_at => {:external => "created_at", :container => false, :type => "DateTime"},
    :updated_at => {:external => "updated_at", :container => false, :type => "DateTime"},
    :message => {:external => "message", :container => false, :type => "String"},
    :url => {:external => "url", :container => false, :type => "String"}

  }
end