Class: Inttegro::Shared::ChildrenPolicy
- Inherits:
-
T::Struct
- Object
- T::Struct
- Inttegro::Shared::ChildrenPolicy
- Defined in:
- lib/inttegro/shared/children_policy.rb
Overview
Typed representation of the children 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::ChildrenPolicyCapabilities
readonly
Value of the
capabilitiesfield 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.
72 73 74 75 76 77 78 79 80 81 82 |
# File 'lib/inttegro/shared/children_policy.rb', line 72 class ChildrenPolicy < 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::ChildrenPolicyCapabilities const :created_at, Time const :updated_at, Time const :version_created_at, Time end |
#capabilities ⇒ Inttegro::Shared::ChildrenPolicyCapabilities (readonly)
Value of the capabilities field in the Inttegro API payload.
Required in the API payload. Wire name: capabilities.
72 73 74 75 76 77 78 79 80 81 82 |
# File 'lib/inttegro/shared/children_policy.rb', line 72 class ChildrenPolicy < 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::ChildrenPolicyCapabilities 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.
72 73 74 75 76 77 78 79 80 81 82 |
# File 'lib/inttegro/shared/children_policy.rb', line 72 class ChildrenPolicy < 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::ChildrenPolicyCapabilities 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.
72 73 74 75 76 77 78 79 80 81 82 |
# File 'lib/inttegro/shared/children_policy.rb', line 72 class ChildrenPolicy < 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::ChildrenPolicyCapabilities 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.
72 73 74 75 76 77 78 79 80 81 82 |
# File 'lib/inttegro/shared/children_policy.rb', line 72 class ChildrenPolicy < 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::ChildrenPolicyCapabilities 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.
72 73 74 75 76 77 78 79 80 81 82 |
# File 'lib/inttegro/shared/children_policy.rb', line 72 class ChildrenPolicy < 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::ChildrenPolicyCapabilities 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.
72 73 74 75 76 77 78 79 80 81 82 |
# File 'lib/inttegro/shared/children_policy.rb', line 72 class ChildrenPolicy < 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::ChildrenPolicyCapabilities 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.
72 73 74 75 76 77 78 79 80 81 82 |
# File 'lib/inttegro/shared/children_policy.rb', line 72 class ChildrenPolicy < 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::ChildrenPolicyCapabilities 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.
72 73 74 75 76 77 78 79 80 81 82 |
# File 'lib/inttegro/shared/children_policy.rb', line 72 class ChildrenPolicy < 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::ChildrenPolicyCapabilities const :created_at, Time const :updated_at, Time const :version_created_at, Time end |