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