Class: Conductor::Orkes::Models::GrantedPermission
- Inherits:
-
Http::Models::BaseModel
- Object
- Http::Models::BaseModel
- Conductor::Orkes::Models::GrantedPermission
- Defined in:
- lib/conductor/orkes/models/granted_permission.rb
Overview
GrantedPermission model - represents a permission granted on a target
Constant Summary collapse
- SWAGGER_TYPES =
{ target: 'TargetRef', access: 'Array<String>' }.freeze
- ATTRIBUTE_MAP =
{ target: :target, access: :access }.freeze
Instance Attribute Summary collapse
-
#access ⇒ Object
Returns the value of attribute access.
-
#target ⇒ Object
Returns the value of attribute target.
Instance Method Summary collapse
-
#initialize(params = {}) ⇒ GrantedPermission
constructor
A new instance of GrantedPermission.
Methods inherited from Http::Models::BaseModel
attribute_map, deserialize_model, deserialize_value, find_model_class, from_hash, from_json, parse_datetime, swagger_types, #to_h, #to_json
Constructor Details
#initialize(params = {}) ⇒ GrantedPermission
Returns a new instance of GrantedPermission.
20 21 22 23 |
# File 'lib/conductor/orkes/models/granted_permission.rb', line 20 def initialize(params = {}) @target = params[:target] @access = params[:access] end |
Instance Attribute Details
#access ⇒ Object
Returns the value of attribute access.
18 19 20 |
# File 'lib/conductor/orkes/models/granted_permission.rb', line 18 def access @access end |
#target ⇒ Object
Returns the value of attribute target.
18 19 20 |
# File 'lib/conductor/orkes/models/granted_permission.rb', line 18 def target @target end |