Class: Inttegro::FinancialAccount::WirePage
- Inherits:
-
T::Struct
- Object
- T::Struct
- Inttegro::FinancialAccount::WirePage
- Defined in:
- lib/inttegro/financial_account/wire_page.rb
Overview
Typed representation of the wire page 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
-
#accounts ⇒ Array<Inttegro::FinancialAccount::WirePageAccountsItem>?
readonly
Array of financial account objects.
-
#number ⇒ Integer?
readonly
Current page number.
-
#size ⇒ Integer?
readonly
Number of accounts in this page.
Instance Attribute Details
#accounts ⇒ Array<Inttegro::FinancialAccount::WirePageAccountsItem>? (readonly)
Array of financial account objects
Optional in the API payload; omitted values default to nil. Wire name: accounts.
36 37 38 39 40 |
# File 'lib/inttegro/financial_account/wire_page.rb', line 36 class WirePage < T::Struct const :number, T.nilable(Integer), default: nil const :size, T.nilable(Integer), default: nil const :accounts, T.nilable(T::Array[Inttegro::FinancialAccount::WirePageAccountsItem]), default: nil end |
#number ⇒ Integer? (readonly)
Current page number
Optional in the API payload; omitted values default to nil. Wire name: number.
36 37 38 39 40 |
# File 'lib/inttegro/financial_account/wire_page.rb', line 36 class WirePage < T::Struct const :number, T.nilable(Integer), default: nil const :size, T.nilable(Integer), default: nil const :accounts, T.nilable(T::Array[Inttegro::FinancialAccount::WirePageAccountsItem]), default: nil end |
#size ⇒ Integer? (readonly)
Number of accounts in this page
Optional in the API payload; omitted values default to nil. Wire name: size.
36 37 38 39 40 |
# File 'lib/inttegro/financial_account/wire_page.rb', line 36 class WirePage < T::Struct const :number, T.nilable(Integer), default: nil const :size, T.nilable(Integer), default: nil const :accounts, T.nilable(T::Array[Inttegro::FinancialAccount::WirePageAccountsItem]), default: nil end |