Class: Inttegro::FinancialAccount::PageResponse
- Inherits:
-
T::Struct
- Object
- T::Struct
- Inttegro::FinancialAccount::PageResponse
- Defined in:
- lib/inttegro/financial_account/page_response.rb
Overview
Typed representation of the page response 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
-
#error ⇒ Inttegro::Shared::ErrorPayload?
readonly
Standard error response structure returned by all API endpoints.
-
#page ⇒ Inttegro::FinancialAccount::WirePage?
readonly
Value of the
pagefield in the Inttegro API payload.
Instance Attribute Details
#error ⇒ Inttegro::Shared::ErrorPayload? (readonly)
Standard error response structure returned by all API endpoints. Provides machine-readable codes, human-readable messages, and actionable guidance for resolution.
Optional in the API payload; omitted values default to nil. Wire name: error.
32 33 34 35 |
# File 'lib/inttegro/financial_account/page_response.rb', line 32 class PageResponse < T::Struct const :page, T.nilable(Inttegro::FinancialAccount::WirePage), default: nil const :error, T.nilable(Inttegro::Shared::ErrorPayload), default: nil end |
#page ⇒ Inttegro::FinancialAccount::WirePage? (readonly)
Value of the page field in the Inttegro API payload.
Optional in the API payload; omitted values default to nil. Wire name: page.
32 33 34 35 |
# File 'lib/inttegro/financial_account/page_response.rb', line 32 class PageResponse < T::Struct const :page, T.nilable(Inttegro::FinancialAccount::WirePage), default: nil const :error, T.nilable(Inttegro::Shared::ErrorPayload), default: nil end |