Class: Conductor::Orkes::Models::CreatedAccessKey
- Inherits:
-
Http::Models::BaseModel
- Object
- Http::Models::BaseModel
- Conductor::Orkes::Models::CreatedAccessKey
- Defined in:
- lib/conductor/orkes/models/access_key.rb
Overview
CreatedAccessKey model - returned when creating a new access key
Constant Summary collapse
- SWAGGER_TYPES =
{ id: 'String', secret: 'String' }.freeze
- ATTRIBUTE_MAP =
{ id: :id, secret: :secret }.freeze
Instance Attribute Summary collapse
-
#id ⇒ Object
Returns the value of attribute id.
-
#secret ⇒ Object
Returns the value of attribute secret.
Instance Method Summary collapse
-
#initialize(params = {}) ⇒ CreatedAccessKey
constructor
A new instance of CreatedAccessKey.
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 = {}) ⇒ CreatedAccessKey
Returns a new instance of CreatedAccessKey.
49 50 51 52 |
# File 'lib/conductor/orkes/models/access_key.rb', line 49 def initialize(params = {}) @id = params[:id] @secret = params[:secret] end |
Instance Attribute Details
#id ⇒ Object
Returns the value of attribute id.
47 48 49 |
# File 'lib/conductor/orkes/models/access_key.rb', line 47 def id @id end |
#secret ⇒ Object
Returns the value of attribute secret.
47 48 49 |
# File 'lib/conductor/orkes/models/access_key.rb', line 47 def secret @secret end |