Class: Inttegro::Application::SecretKey
- Inherits:
-
T::Struct
- Object
- T::Struct
- Inttegro::Application::SecretKey
- Defined in:
- lib/inttegro/app/secret_key.rb
Overview
Typed representation of the secret key object in the Inttegro API.
This generated model is immutable. Construct it with .new, or decode a string-keyed API
payload with .from_hash. #serialize produces a string-keyed hash using the original wire
field names and serialized enum values.
Instance Attribute Summary collapse
-
#id ⇒ String?
readonly
Value of the
idfield in the Inttegro API payload. -
#issued_at ⇒ Time?
readonly
Value of the
issued_atfield in the Inttegro API payload. -
#token ⇒ String?
readonly
Value of the
tokenfield in the Inttegro API payload. -
#token_type ⇒ String?
readonly
Value of the
token_typefield in the Inttegro API payload.
Instance Attribute Details
#id ⇒ String? (readonly)
Value of the id field in the Inttegro API payload.
Optional in the API payload; omitted values default to nil. Wire name: id.
41 42 43 44 45 46 |
# File 'lib/inttegro/app/secret_key.rb', line 41 class SecretKey < T::Struct const :id, T.nilable(String), default: nil const :token_type, T.nilable(String), default: nil const :issued_at, T.nilable(Time), default: nil const :token, T.nilable(String), default: nil end |
#issued_at ⇒ Time? (readonly)
Value of the issued_at field in the Inttegro API payload.
Optional in the API payload; omitted values default to nil. Wire name: issued_at.
41 42 43 44 45 46 |
# File 'lib/inttegro/app/secret_key.rb', line 41 class SecretKey < T::Struct const :id, T.nilable(String), default: nil const :token_type, T.nilable(String), default: nil const :issued_at, T.nilable(Time), default: nil const :token, T.nilable(String), default: nil end |
#token ⇒ String? (readonly)
Value of the token field in the Inttegro API payload.
Optional in the API payload; omitted values default to nil. Wire name: token.
41 42 43 44 45 46 |
# File 'lib/inttegro/app/secret_key.rb', line 41 class SecretKey < T::Struct const :id, T.nilable(String), default: nil const :token_type, T.nilable(String), default: nil const :issued_at, T.nilable(Time), default: nil const :token, T.nilable(String), default: nil end |
#token_type ⇒ String? (readonly)
Value of the token_type field in the Inttegro API payload.
Optional in the API payload; omitted values default to nil. Wire name: token_type.
41 42 43 44 45 46 |
# File 'lib/inttegro/app/secret_key.rb', line 41 class SecretKey < T::Struct const :id, T.nilable(String), default: nil const :token_type, T.nilable(String), default: nil const :issued_at, T.nilable(Time), default: nil const :token, T.nilable(String), default: nil end |