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