Class: Inttegro::Shared::OperatingPolicyVersionsPage
- Inherits:
-
T::Struct
- Object
- T::Struct
- Inttegro::Shared::OperatingPolicyVersionsPage
- Defined in:
- lib/inttegro/shared/operating_policy_versions_page.rb
Overview
Typed representation of the operating policy versions 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. -
#size ⇒ Integer
readonly
Value of the
sizefield in the Inttegro API payload. -
#total ⇒ Integer
readonly
Value of the
totalfield in the Inttegro API payload. -
#versions ⇒ Array<Inttegro::Shared::OperatingPolicy>
readonly
Value of the
versionsfield 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/shared/operating_policy_versions_page.rb', line 54 class OperatingPolicyVersionsPage < T::Struct const :number, Integer const :size, Integer const :count, Integer const :total, Integer const :has_more, T::Boolean const :versions, T::Array[Inttegro::Shared::OperatingPolicy] 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/shared/operating_policy_versions_page.rb', line 54 class OperatingPolicyVersionsPage < T::Struct const :number, Integer const :size, Integer const :count, Integer const :total, Integer const :has_more, T::Boolean const :versions, T::Array[Inttegro::Shared::OperatingPolicy] 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/shared/operating_policy_versions_page.rb', line 54 class OperatingPolicyVersionsPage < T::Struct const :number, Integer const :size, Integer const :count, Integer const :total, Integer const :has_more, T::Boolean const :versions, T::Array[Inttegro::Shared::OperatingPolicy] 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/shared/operating_policy_versions_page.rb', line 54 class OperatingPolicyVersionsPage < T::Struct const :number, Integer const :size, Integer const :count, Integer const :total, Integer const :has_more, T::Boolean const :versions, T::Array[Inttegro::Shared::OperatingPolicy] 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/shared/operating_policy_versions_page.rb', line 54 class OperatingPolicyVersionsPage < T::Struct const :number, Integer const :size, Integer const :count, Integer const :total, Integer const :has_more, T::Boolean const :versions, T::Array[Inttegro::Shared::OperatingPolicy] end |
#versions ⇒ Array<Inttegro::Shared::OperatingPolicy> (readonly)
Value of the versions field in the Inttegro API payload.
Required in the API payload. Wire name: versions.
54 55 56 57 58 59 60 61 |
# File 'lib/inttegro/shared/operating_policy_versions_page.rb', line 54 class OperatingPolicyVersionsPage < T::Struct const :number, Integer const :size, Integer const :count, Integer const :total, Integer const :has_more, T::Boolean const :versions, T::Array[Inttegro::Shared::OperatingPolicy] end |