Class: Inttegro::SecretKey::UsagePage
- Inherits:
-
T::Struct
- Object
- T::Struct
- Inttegro::SecretKey::UsagePage
- Defined in:
- lib/inttegro/secret_key/usage_page.rb
Overview
Typed representation of the usage 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. -
#number ⇒ Integer
readonly
Value of the
numberfield in the Inttegro API payload. -
#rows ⇒ Array<Inttegro::SecretKey::UsageRow>
readonly
Value of the
rowsfield 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/usage_page.rb', line 54 class UsagePage < T::Struct const :number, Integer const :size, Integer const :count, Integer const :total, Integer const :has_more, T::Boolean const :rows, T::Array[Inttegro::SecretKey::UsageRow] 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/usage_page.rb', line 54 class UsagePage < T::Struct const :number, Integer const :size, Integer const :count, Integer const :total, Integer const :has_more, T::Boolean const :rows, T::Array[Inttegro::SecretKey::UsageRow] 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/usage_page.rb', line 54 class UsagePage < T::Struct const :number, Integer const :size, Integer const :count, Integer const :total, Integer const :has_more, T::Boolean const :rows, T::Array[Inttegro::SecretKey::UsageRow] end |
#rows ⇒ Array<Inttegro::SecretKey::UsageRow> (readonly)
Value of the rows field in the Inttegro API payload.
Required in the API payload. Wire name: rows.
54 55 56 57 58 59 60 61 |
# File 'lib/inttegro/secret_key/usage_page.rb', line 54 class UsagePage < T::Struct const :number, Integer const :size, Integer const :count, Integer const :total, Integer const :has_more, T::Boolean const :rows, T::Array[Inttegro::SecretKey::UsageRow] 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/usage_page.rb', line 54 class UsagePage < T::Struct const :number, Integer const :size, Integer const :count, Integer const :total, Integer const :has_more, T::Boolean const :rows, T::Array[Inttegro::SecretKey::UsageRow] 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/usage_page.rb', line 54 class UsagePage < T::Struct const :number, Integer const :size, Integer const :count, Integer const :total, Integer const :has_more, T::Boolean const :rows, T::Array[Inttegro::SecretKey::UsageRow] end |