Class: Inttegro::Shared::OperatingPolicy
- Inherits:
-
T::Struct
- Object
- T::Struct
- Inttegro::Shared::OperatingPolicy
- Defined in:
- lib/inttegro/shared/operating_policy.rb
Overview
Typed representation of the operating policy 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
-
#active_version ⇒ Integer
readonly
Value of the
active_versionfield in the Inttegro API payload. -
#capabilities ⇒ Inttegro::Shared::OperatingPolicyCapabilities
readonly
Value of the
capabilitiesfield in the Inttegro API payload. -
#children_policy_id ⇒ String
readonly
Value of the
children_policy_idfield in the Inttegro API payload. -
#children_policy_version ⇒ Integer
readonly
Value of the
children_policy_versionfield in the Inttegro API payload. -
#created_at ⇒ Time
readonly
Value of the
created_atfield in the Inttegro API payload. -
#description ⇒ String?
readonly
Value of the
descriptionfield in the Inttegro API payload. -
#id ⇒ String
readonly
Value of the
idfield in the Inttegro API payload. -
#name ⇒ String
readonly
Value of the
namefield in the Inttegro API payload. -
#updated_at ⇒ Time
readonly
Value of the
updated_atfield in the Inttegro API payload. -
#version ⇒ Integer
readonly
Value of the
versionfield in the Inttegro API payload. -
#version_created_at ⇒ Time
readonly
Value of the
version_created_atfield in the Inttegro API payload.
Instance Attribute Details
#active_version ⇒ Integer (readonly)
Value of the active_version field in the Inttegro API payload.
Required in the API payload. Wire name: active_version.
84 85 86 87 88 89 90 91 92 93 94 95 96 |
# File 'lib/inttegro/shared/operating_policy.rb', line 84 class OperatingPolicy < T::Struct const :id, String const :version, Integer const :active_version, Integer const :name, String const :description, T.nilable(String), default: nil const :capabilities, Inttegro::Shared::OperatingPolicyCapabilities const :children_policy_id, String const :children_policy_version, Integer const :created_at, Time const :updated_at, Time const :version_created_at, Time end |
#capabilities ⇒ Inttegro::Shared::OperatingPolicyCapabilities (readonly)
Value of the capabilities field in the Inttegro API payload.
Required in the API payload. Wire name: capabilities.
84 85 86 87 88 89 90 91 92 93 94 95 96 |
# File 'lib/inttegro/shared/operating_policy.rb', line 84 class OperatingPolicy < T::Struct const :id, String const :version, Integer const :active_version, Integer const :name, String const :description, T.nilable(String), default: nil const :capabilities, Inttegro::Shared::OperatingPolicyCapabilities const :children_policy_id, String const :children_policy_version, Integer const :created_at, Time const :updated_at, Time const :version_created_at, Time end |
#children_policy_id ⇒ String (readonly)
Value of the children_policy_id field in the Inttegro API payload.
Required in the API payload. Wire name: children_policy_id.
84 85 86 87 88 89 90 91 92 93 94 95 96 |
# File 'lib/inttegro/shared/operating_policy.rb', line 84 class OperatingPolicy < T::Struct const :id, String const :version, Integer const :active_version, Integer const :name, String const :description, T.nilable(String), default: nil const :capabilities, Inttegro::Shared::OperatingPolicyCapabilities const :children_policy_id, String const :children_policy_version, Integer const :created_at, Time const :updated_at, Time const :version_created_at, Time end |
#children_policy_version ⇒ Integer (readonly)
Value of the children_policy_version field in the Inttegro API payload.
Required in the API payload. Wire name: children_policy_version.
84 85 86 87 88 89 90 91 92 93 94 95 96 |
# File 'lib/inttegro/shared/operating_policy.rb', line 84 class OperatingPolicy < T::Struct const :id, String const :version, Integer const :active_version, Integer const :name, String const :description, T.nilable(String), default: nil const :capabilities, Inttegro::Shared::OperatingPolicyCapabilities const :children_policy_id, String const :children_policy_version, Integer const :created_at, Time const :updated_at, Time const :version_created_at, Time end |
#created_at ⇒ Time (readonly)
Value of the created_at field in the Inttegro API payload.
Required in the API payload. Wire name: created_at.
84 85 86 87 88 89 90 91 92 93 94 95 96 |
# File 'lib/inttegro/shared/operating_policy.rb', line 84 class OperatingPolicy < T::Struct const :id, String const :version, Integer const :active_version, Integer const :name, String const :description, T.nilable(String), default: nil const :capabilities, Inttegro::Shared::OperatingPolicyCapabilities const :children_policy_id, String const :children_policy_version, Integer const :created_at, Time const :updated_at, Time const :version_created_at, Time end |
#description ⇒ String? (readonly)
Value of the description field in the Inttegro API payload.
Optional in the API payload; omitted values default to nil. Wire name: description.
84 85 86 87 88 89 90 91 92 93 94 95 96 |
# File 'lib/inttegro/shared/operating_policy.rb', line 84 class OperatingPolicy < T::Struct const :id, String const :version, Integer const :active_version, Integer const :name, String const :description, T.nilable(String), default: nil const :capabilities, Inttegro::Shared::OperatingPolicyCapabilities const :children_policy_id, String const :children_policy_version, Integer const :created_at, Time const :updated_at, Time const :version_created_at, Time end |
#id ⇒ String (readonly)
Value of the id field in the Inttegro API payload.
Required in the API payload. Wire name: id.
84 85 86 87 88 89 90 91 92 93 94 95 96 |
# File 'lib/inttegro/shared/operating_policy.rb', line 84 class OperatingPolicy < T::Struct const :id, String const :version, Integer const :active_version, Integer const :name, String const :description, T.nilable(String), default: nil const :capabilities, Inttegro::Shared::OperatingPolicyCapabilities const :children_policy_id, String const :children_policy_version, Integer const :created_at, Time const :updated_at, Time const :version_created_at, Time end |
#name ⇒ String (readonly)
Value of the name field in the Inttegro API payload.
Required in the API payload. Wire name: name.
84 85 86 87 88 89 90 91 92 93 94 95 96 |
# File 'lib/inttegro/shared/operating_policy.rb', line 84 class OperatingPolicy < T::Struct const :id, String const :version, Integer const :active_version, Integer const :name, String const :description, T.nilable(String), default: nil const :capabilities, Inttegro::Shared::OperatingPolicyCapabilities const :children_policy_id, String const :children_policy_version, Integer const :created_at, Time const :updated_at, Time const :version_created_at, Time end |
#updated_at ⇒ Time (readonly)
Value of the updated_at field in the Inttegro API payload.
Required in the API payload. Wire name: updated_at.
84 85 86 87 88 89 90 91 92 93 94 95 96 |
# File 'lib/inttegro/shared/operating_policy.rb', line 84 class OperatingPolicy < T::Struct const :id, String const :version, Integer const :active_version, Integer const :name, String const :description, T.nilable(String), default: nil const :capabilities, Inttegro::Shared::OperatingPolicyCapabilities const :children_policy_id, String const :children_policy_version, Integer const :created_at, Time const :updated_at, Time const :version_created_at, Time end |
#version ⇒ Integer (readonly)
Value of the version field in the Inttegro API payload.
Required in the API payload. Wire name: version.
84 85 86 87 88 89 90 91 92 93 94 95 96 |
# File 'lib/inttegro/shared/operating_policy.rb', line 84 class OperatingPolicy < T::Struct const :id, String const :version, Integer const :active_version, Integer const :name, String const :description, T.nilable(String), default: nil const :capabilities, Inttegro::Shared::OperatingPolicyCapabilities const :children_policy_id, String const :children_policy_version, Integer const :created_at, Time const :updated_at, Time const :version_created_at, Time end |
#version_created_at ⇒ Time (readonly)
Value of the version_created_at field in the Inttegro API payload.
Required in the API payload. Wire name: version_created_at.
84 85 86 87 88 89 90 91 92 93 94 95 96 |
# File 'lib/inttegro/shared/operating_policy.rb', line 84 class OperatingPolicy < T::Struct const :id, String const :version, Integer const :active_version, Integer const :name, String const :description, T.nilable(String), default: nil const :capabilities, Inttegro::Shared::OperatingPolicyCapabilities const :children_policy_id, String const :children_policy_version, Integer const :created_at, Time const :updated_at, Time const :version_created_at, Time end |