Class: Inttegro::FinancialAccount::FinancialAccountPageRequest

Inherits:
T::Struct
  • Object
show all
Defined in:
lib/inttegro/financial_account/financial_account_page_request.rb

Overview

Typed representation of the financial account page request 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

Instance Attribute Details

#page_number ⇒ Integer (readonly)

Value of the page_number field in the Inttegro API payload.

Required in the API payload. Wire name: page_number.

Returns:

  • (Integer)


29
30
31
32
# File 'lib/inttegro/financial_account/financial_account_page_request.rb', line 29

class FinancialAccountPageRequest < T::Struct
  const :page_number, Integer
  const :page_size, T.nilable(Integer), default: nil
end

#page_size ⇒ Integer? (readonly)

Value of the page_size field in the Inttegro API payload.

Optional in the API payload; omitted values default to nil. Wire name: page_size.

Returns:

  • (Integer, nil)


29
30
31
32
# File 'lib/inttegro/financial_account/financial_account_page_request.rb', line 29

class FinancialAccountPageRequest < T::Struct
  const :page_number, Integer
  const :page_size, T.nilable(Integer), default: nil
end