Class: Inttegro::File::LatestError
- Inherits:
-
T::Struct
- Object
- T::Struct
- Inttegro::File::LatestError
- Defined in:
- lib/inttegro/file/latest_error.rb
Overview
Typed representation of the latest error 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
-
#at ⇒ Time?
readonly
Value of the
atfield in the Inttegro API payload. -
#code ⇒ String?
readonly
Value of the
codefield in the Inttegro API payload. -
#message ⇒ String?
readonly
Value of the
messagefield in the Inttegro API payload. -
#retryable ⇒ Boolean?
readonly
Value of the
retryablefield in the Inttegro API payload.
Instance Attribute Details
#at ⇒ Time? (readonly)
Value of the at field in the Inttegro API payload.
Optional in the API payload; omitted values default to nil. Wire name: at.
41 42 43 44 45 46 |
# File 'lib/inttegro/file/latest_error.rb', line 41 class LatestError < T::Struct const :code, T.nilable(String), default: nil const :message, T.nilable(String), default: nil const :retryable, T.nilable(T::Boolean), default: nil const :at, T.nilable(Time), default: nil end |
#code ⇒ String? (readonly)
Value of the code field in the Inttegro API payload.
Optional in the API payload; omitted values default to nil. Wire name: code.
41 42 43 44 45 46 |
# File 'lib/inttegro/file/latest_error.rb', line 41 class LatestError < T::Struct const :code, T.nilable(String), default: nil const :message, T.nilable(String), default: nil const :retryable, T.nilable(T::Boolean), default: nil const :at, T.nilable(Time), default: nil end |
#message ⇒ String? (readonly)
Value of the message field in the Inttegro API payload.
Optional in the API payload; omitted values default to nil. Wire name: message.
41 42 43 44 45 46 |
# File 'lib/inttegro/file/latest_error.rb', line 41 class LatestError < T::Struct const :code, T.nilable(String), default: nil const :message, T.nilable(String), default: nil const :retryable, T.nilable(T::Boolean), default: nil const :at, T.nilable(Time), default: nil end |
#retryable ⇒ Boolean? (readonly)
Value of the retryable field in the Inttegro API payload.
Optional in the API payload; omitted values default to nil. Wire name: retryable.
41 42 43 44 45 46 |
# File 'lib/inttegro/file/latest_error.rb', line 41 class LatestError < T::Struct const :code, T.nilable(String), default: nil const :message, T.nilable(String), default: nil const :retryable, T.nilable(T::Boolean), default: nil const :at, T.nilable(Time), default: nil end |