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