Class: Conductor::Http::Models::Permission

Inherits:
BaseModel
  • Object
show all
Defined in:
lib/conductor/http/models/permission.rb

Overview

Permission model - represents a permission entry

Constant Summary collapse

SWAGGER_TYPES =
{
  name: 'String'
}.freeze
ATTRIBUTE_MAP =
{
  name: :name
}.freeze

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from 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 = {}) ⇒ Permission

Returns a new instance of Permission.



18
19
20
# File 'lib/conductor/http/models/permission.rb', line 18

def initialize(params = {})
  @name = params[:name]
end

Instance Attribute Details

#nameObject

Returns the value of attribute name.



16
17
18
# File 'lib/conductor/http/models/permission.rb', line 16

def name
  @name
end