Class: Inttegro::FinancialAccount::Page
- Inherits:
-
T::Struct
- Object
- T::Struct
- Inttegro::FinancialAccount::Page
- Defined in:
- lib/inttegro/financial_account/page.rb
Overview
Typed representation of the 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>
readonly
Value of the
accountsfield in the Inttegro API payload. -
#number ⇒ Integer
readonly
Value of the
numberfield in the Inttegro API payload. -
#size ⇒ Integer
readonly
Number of accounts returned.
Instance Attribute Details
#accounts ⇒ Array<Inttegro::FinancialAccount> (readonly)
Value of the accounts field in the Inttegro API payload.
Required in the API payload. Wire name: accounts.
36 37 38 39 40 |
# File 'lib/inttegro/financial_account/page.rb', line 36 class Page < T::Struct const :accounts, T::Array[Inttegro::FinancialAccount] const :number, Integer const :size, Integer end |
#number ⇒ Integer (readonly)
Value of the number field in the Inttegro API payload.
Required in the API payload. Wire name: number.
36 37 38 39 40 |
# File 'lib/inttegro/financial_account/page.rb', line 36 class Page < T::Struct const :accounts, T::Array[Inttegro::FinancialAccount] const :number, Integer const :size, Integer end |
#size ⇒ Integer (readonly)
Number of accounts returned
Required in the API payload. Wire name: size.
36 37 38 39 40 |
# File 'lib/inttegro/financial_account/page.rb', line 36 class Page < T::Struct const :accounts, T::Array[Inttegro::FinancialAccount] const :number, Integer const :size, Integer end |