Class: Pandarus::Role
- Defined in:
- lib/pandarus/models/role.rb
Instance Attribute Summary collapse
-
#account ⇒ Object
Returns the value of attribute account.
-
#base_role_type ⇒ Object
Returns the value of attribute base_role_type.
-
#permissions ⇒ Object
Returns the value of attribute permissions.
-
#role ⇒ Object
Returns the value of attribute role.
-
#workflow_state ⇒ Object
Returns the value of attribute workflow_state.
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
#account ⇒ Object
Returns the value of attribute account.
6 7 8 |
# File 'lib/pandarus/models/role.rb', line 6 def account @account end |
#base_role_type ⇒ Object
Returns the value of attribute base_role_type.
6 7 8 |
# File 'lib/pandarus/models/role.rb', line 6 def base_role_type @base_role_type end |
#permissions ⇒ Object
Returns the value of attribute permissions.
6 7 8 |
# File 'lib/pandarus/models/role.rb', line 6 def @permissions end |
#role ⇒ Object
Returns the value of attribute role.
6 7 8 |
# File 'lib/pandarus/models/role.rb', line 6 def role @role end |
#workflow_state ⇒ Object
Returns the value of attribute workflow_state.
6 7 8 |
# File 'lib/pandarus/models/role.rb', line 6 def workflow_state @workflow_state end |
Class Method Details
.attribute_map ⇒ Object
9 10 11 12 13 14 15 16 17 18 |
# File 'lib/pandarus/models/role.rb', line 9 def self.attribute_map { :role => {:external => "role", :container => false, :type => "String"}, :base_role_type => {:external => "base_role_type", :container => false, :type => "String"}, :account => {:external => "account", :container => false, :type => "Account"}, :workflow_state => {:external => "workflow_state", :container => false, :type => "String"}, :permissions => {:external => "permissions", :container => false, :type => "Map"} } end |