Class: Inttegro::SecretKey::Page
- Inherits:
-
T::Struct
- Object
- T::Struct
- Inttegro::SecretKey::Page
- Defined in:
- lib/inttegro/secret_key/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
-
#count ⇒ Integer
readonly
Value of the
countfield in the Inttegro API payload. -
#has_more ⇒ Boolean
readonly
Value of the
has_morefield in the Inttegro API payload. -
#keys ⇒ Array<Inttegro::SecretKey>
readonly
Value of the
keysfield 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. -
#total ⇒ Integer
readonly
Value of the
totalfield in the Inttegro API payload.
Instance Attribute Details
#count ⇒ Integer (readonly)
Value of the count field in the Inttegro API payload.
Required in the API payload. Wire name: count.
54 55 56 57 58 59 60 61 |
# File 'lib/inttegro/secret_key/page.rb', line 54 class Page < T::Struct const :number, Integer const :size, Integer const :count, Integer const :total, Integer const :has_more, T::Boolean const :keys, T::Array[Inttegro::SecretKey] end |
#has_more ⇒ Boolean (readonly)
Value of the has_more field in the Inttegro API payload.
Required in the API payload. Wire name: has_more.
54 55 56 57 58 59 60 61 |
# File 'lib/inttegro/secret_key/page.rb', line 54 class Page < T::Struct const :number, Integer const :size, Integer const :count, Integer const :total, Integer const :has_more, T::Boolean const :keys, T::Array[Inttegro::SecretKey] end |
#keys ⇒ Array<Inttegro::SecretKey> (readonly)
Value of the keys field in the Inttegro API payload.
Required in the API payload. Wire name: keys.
54 55 56 57 58 59 60 61 |
# File 'lib/inttegro/secret_key/page.rb', line 54 class Page < T::Struct const :number, Integer const :size, Integer const :count, Integer const :total, Integer const :has_more, T::Boolean const :keys, T::Array[Inttegro::SecretKey] end |
#number ⇒ Integer (readonly)
Value of the number field in the Inttegro API payload.
Required in the API payload. Wire name: number.
54 55 56 57 58 59 60 61 |
# File 'lib/inttegro/secret_key/page.rb', line 54 class Page < T::Struct const :number, Integer const :size, Integer const :count, Integer const :total, Integer const :has_more, T::Boolean const :keys, T::Array[Inttegro::SecretKey] end |
#size ⇒ Integer (readonly)
Value of the size field in the Inttegro API payload.
Required in the API payload. Wire name: size.
54 55 56 57 58 59 60 61 |
# File 'lib/inttegro/secret_key/page.rb', line 54 class Page < T::Struct const :number, Integer const :size, Integer const :count, Integer const :total, Integer const :has_more, T::Boolean const :keys, T::Array[Inttegro::SecretKey] end |
#total ⇒ Integer (readonly)
Value of the total field in the Inttegro API payload.
Required in the API payload. Wire name: total.
54 55 56 57 58 59 60 61 |
# File 'lib/inttegro/secret_key/page.rb', line 54 class Page < T::Struct const :number, Integer const :size, Integer const :count, Integer const :total, Integer const :has_more, T::Boolean const :keys, T::Array[Inttegro::SecretKey] end |