Class: Openlayer::Models::Workspaces::APIKeyCreateResponse
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Openlayer::Models::Workspaces::APIKeyCreateResponse
- Defined in:
- lib/openlayer/models/workspaces/api_key_create_response.rb,
sig/openlayer/models/workspaces/api_key_create_response.rbs
Overview
Instance Attribute Summary collapse
-
#date_created ⇒ Time
Returns the value of attribute date_created.
-
#date_last_used ⇒ Time?
Returns the value of attribute date_last_used.
-
#date_updated ⇒ Time
Returns the value of attribute date_updated.
-
#id ⇒ String
Returns the value of attribute id.
-
#name ⇒ String?
The API key name.
-
#secure_key ⇒ String
Returns the value of attribute secure_key.
Instance Method Summary collapse
- #initialize(id:, date_created:, date_last_used:, date_updated:, secure_key:, name: nil) ⇒ Object constructor
- #to_hash ⇒ {
Methods inherited from Internal::Type::BaseModel
==, #==, #[], coerce, #deconstruct_keys, #deep_to_h, dump, fields, hash, #hash, inherited, inspect, #inspect, known_fields, optional, recursively_to_h, required, #to_h, #to_json, #to_s, to_sorbet_type, #to_yaml
Methods included from Internal::Type::Converter
#coerce, coerce, #dump, dump, #inspect, inspect, meta_info, new_coerce_state, type_info
Methods included from Internal::Util::SorbetRuntimeSupport
#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type
Constructor Details
#initialize(id:, date_created:, date_last_used:, date_updated:, secure_key:, name: nil) ⇒ Object
|
|
# File 'lib/openlayer/models/workspaces/api_key_create_response.rb', line 46
|
Instance Attribute Details
#date_created ⇒ Time
Returns the value of attribute date_created.
19 20 21 |
# File 'sig/openlayer/models/workspaces/api_key_create_response.rbs', line 19 def date_created @date_created end |
#date_last_used ⇒ Time?
Returns the value of attribute date_last_used.
21 22 23 |
# File 'sig/openlayer/models/workspaces/api_key_create_response.rbs', line 21 def date_last_used @date_last_used end |
#date_updated ⇒ Time
Returns the value of attribute date_updated.
23 24 25 |
# File 'sig/openlayer/models/workspaces/api_key_create_response.rbs', line 23 def date_updated @date_updated end |
#id ⇒ String
Returns the value of attribute id.
17 18 19 |
# File 'sig/openlayer/models/workspaces/api_key_create_response.rbs', line 17 def id @id end |
#name ⇒ String?
The API key name.
12 |
# File 'lib/openlayer/models/workspaces/api_key_create_response.rb', line 12 optional :name, String, nil?: true |
#secure_key ⇒ String
Returns the value of attribute secure_key.
25 26 27 |
# File 'sig/openlayer/models/workspaces/api_key_create_response.rbs', line 25 def secure_key @secure_key end |
Instance Method Details
#to_hash ⇒ {
36 |
# File 'sig/openlayer/models/workspaces/api_key_create_response.rbs', line 36
def to_hash: -> {
|