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