Class: Pandarus::OutcomeLink

Inherits:
ModelBase show all
Defined in:
lib/pandarus/models/outcome_link.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

#context_idObject

Returns the value of attribute context_id.



6
7
8
# File 'lib/pandarus/models/outcome_link.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/outcome_link.rb', line 6

def context_type
  @context_type
end

#outcomeObject

Returns the value of attribute outcome.



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

def outcome
  @outcome
end

#outcome_groupObject

Returns the value of attribute outcome_group.



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

def outcome_group
  @outcome_group
end

#urlObject

Returns the value of attribute url.



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

def url
  @url
end

Class Method Details

.attribute_mapObject



9
10
11
12
13
14
15
16
17
18
# File 'lib/pandarus/models/outcome_link.rb', line 9

def self.attribute_map
  {
    :url => {:external => "url", :container => false, :type => "String"},
    :context_id => {:external => "context_id", :container => false, :type => "Integer"},
    :context_type => {:external => "context_type", :container => false, :type => "String"},
    :outcome_group => {:external => "outcome_group", :container => false, :type => "OutcomeGroup"},
    :outcome => {:external => "outcome", :container => false, :type => "OutcomeGroup"}

  }
end