Class: Pandarus::Role

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

#accountObject

Returns the value of attribute account.



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

def 
  @account
end

#base_role_typeObject

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

#permissionsObject

Returns the value of attribute permissions.



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

def permissions
  @permissions
end

#roleObject

Returns the value of attribute role.



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

def role
  @role
end

#workflow_stateObject

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_mapObject



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