Class: Inttegro::SecretKey::Page

Inherits:
T::Struct
  • Object
show all
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

Instance Attribute Details

#count ⇒ Integer (readonly)

Value of the count field in the Inttegro API payload.

Required in the API payload. Wire name: count.

Returns:

  • (Integer)


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.

Returns:

  • (Boolean)


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.

Returns:



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.

Returns:

  • (Integer)


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.

Returns:

  • (Integer)


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.

Returns:

  • (Integer)


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