Class: Inttegro::Application::Updated
- Inherits:
-
T::Struct
- Object
- T::Struct
- Inttegro::Application::Updated
- Defined in:
- lib/inttegro/app/updated.rb
Overview
Typed representation of the updated 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
-
#alias ⇒ String?
readonly
Value of the
aliasfield in the Inttegro API payload. -
#capabilities ⇒ Inttegro::Application::CapabilityProjection
readonly
Public capability states currently available to the application.
-
#children_policy ⇒ Inttegro::Shared::ChildrenPolicy?
readonly
Active children policy assigned to the application.
-
#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. -
#operating_policy ⇒ Inttegro::Application::OperatingPolicy?
readonly
Immutable operating policy applied to the application.
-
#updated_at ⇒ Time?
readonly
Value of the
updated_atfield in the Inttegro API payload.
Instance Attribute Details
#alias ⇒ String? (readonly)
Value of the alias field in the Inttegro API payload.
Optional in the API payload; omitted values default to nil. Wire name: alias.
78 79 80 81 82 83 84 85 86 87 88 |
# File 'lib/inttegro/app/updated.rb', line 78 class Updated < T::Struct const :id, String const :name, String const :alias, T.nilable(String), default: nil const :description, T.nilable(String), default: nil const :created_at, Time const :updated_at, T.nilable(Time), default: nil const :capabilities, Inttegro::Application::CapabilityProjection const :children_policy, T.nilable(Inttegro::Shared::ChildrenPolicy), default: nil const :operating_policy, T.nilable(Inttegro::Application::OperatingPolicy), default: nil end |
#capabilities ⇒ Inttegro::Application::CapabilityProjection (readonly)
Public capability states currently available to the application. Newly created applications can return an empty object until capabilities become available. New capability keys may appear over time.
Required in the API payload. Wire name: capabilities.
78 79 80 81 82 83 84 85 86 87 88 |
# File 'lib/inttegro/app/updated.rb', line 78 class Updated < T::Struct const :id, String const :name, String const :alias, T.nilable(String), default: nil const :description, T.nilable(String), default: nil const :created_at, Time const :updated_at, T.nilable(Time), default: nil const :capabilities, Inttegro::Application::CapabilityProjection const :children_policy, T.nilable(Inttegro::Shared::ChildrenPolicy), default: nil const :operating_policy, T.nilable(Inttegro::Application::OperatingPolicy), default: nil end |
#children_policy ⇒ Inttegro::Shared::ChildrenPolicy? (readonly)
Active children policy assigned to the application. Omitted when the private beta is unavailable to the caller.
Optional in the API payload; omitted values default to nil. Wire name: children_policy.
78 79 80 81 82 83 84 85 86 87 88 |
# File 'lib/inttegro/app/updated.rb', line 78 class Updated < T::Struct const :id, String const :name, String const :alias, T.nilable(String), default: nil const :description, T.nilable(String), default: nil const :created_at, Time const :updated_at, T.nilable(Time), default: nil const :capabilities, Inttegro::Application::CapabilityProjection const :children_policy, T.nilable(Inttegro::Shared::ChildrenPolicy), default: nil const :operating_policy, T.nilable(Inttegro::Application::OperatingPolicy), default: nil 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.
78 79 80 81 82 83 84 85 86 87 88 |
# File 'lib/inttegro/app/updated.rb', line 78 class Updated < T::Struct const :id, String const :name, String const :alias, T.nilable(String), default: nil const :description, T.nilable(String), default: nil const :created_at, Time const :updated_at, T.nilable(Time), default: nil const :capabilities, Inttegro::Application::CapabilityProjection const :children_policy, T.nilable(Inttegro::Shared::ChildrenPolicy), default: nil const :operating_policy, T.nilable(Inttegro::Application::OperatingPolicy), default: nil 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.
78 79 80 81 82 83 84 85 86 87 88 |
# File 'lib/inttegro/app/updated.rb', line 78 class Updated < T::Struct const :id, String const :name, String const :alias, T.nilable(String), default: nil const :description, T.nilable(String), default: nil const :created_at, Time const :updated_at, T.nilable(Time), default: nil const :capabilities, Inttegro::Application::CapabilityProjection const :children_policy, T.nilable(Inttegro::Shared::ChildrenPolicy), default: nil const :operating_policy, T.nilable(Inttegro::Application::OperatingPolicy), default: nil end |
#id ⇒ String (readonly)
Value of the id field in the Inttegro API payload.
Required in the API payload. Wire name: id.
78 79 80 81 82 83 84 85 86 87 88 |
# File 'lib/inttegro/app/updated.rb', line 78 class Updated < T::Struct const :id, String const :name, String const :alias, T.nilable(String), default: nil const :description, T.nilable(String), default: nil const :created_at, Time const :updated_at, T.nilable(Time), default: nil const :capabilities, Inttegro::Application::CapabilityProjection const :children_policy, T.nilable(Inttegro::Shared::ChildrenPolicy), default: nil const :operating_policy, T.nilable(Inttegro::Application::OperatingPolicy), default: nil end |
#name ⇒ String (readonly)
Value of the name field in the Inttegro API payload.
Required in the API payload. Wire name: name.
78 79 80 81 82 83 84 85 86 87 88 |
# File 'lib/inttegro/app/updated.rb', line 78 class Updated < T::Struct const :id, String const :name, String const :alias, T.nilable(String), default: nil const :description, T.nilable(String), default: nil const :created_at, Time const :updated_at, T.nilable(Time), default: nil const :capabilities, Inttegro::Application::CapabilityProjection const :children_policy, T.nilable(Inttegro::Shared::ChildrenPolicy), default: nil const :operating_policy, T.nilable(Inttegro::Application::OperatingPolicy), default: nil end |
#operating_policy ⇒ Inttegro::Application::OperatingPolicy? (readonly)
Immutable operating policy applied to the application. Omitted for root applications and when the private beta is unavailable to the caller.
Optional in the API payload; omitted values default to nil. Wire name: operating_policy.
78 79 80 81 82 83 84 85 86 87 88 |
# File 'lib/inttegro/app/updated.rb', line 78 class Updated < T::Struct const :id, String const :name, String const :alias, T.nilable(String), default: nil const :description, T.nilable(String), default: nil const :created_at, Time const :updated_at, T.nilable(Time), default: nil const :capabilities, Inttegro::Application::CapabilityProjection const :children_policy, T.nilable(Inttegro::Shared::ChildrenPolicy), default: nil const :operating_policy, T.nilable(Inttegro::Application::OperatingPolicy), default: nil end |
#updated_at ⇒ Time? (readonly)
Value of the updated_at field in the Inttegro API payload.
Optional in the API payload; omitted values default to nil. Wire name: updated_at.
78 79 80 81 82 83 84 85 86 87 88 |
# File 'lib/inttegro/app/updated.rb', line 78 class Updated < T::Struct const :id, String const :name, String const :alias, T.nilable(String), default: nil const :description, T.nilable(String), default: nil const :created_at, Time const :updated_at, T.nilable(Time), default: nil const :capabilities, Inttegro::Application::CapabilityProjection const :children_policy, T.nilable(Inttegro::Shared::ChildrenPolicy), default: nil const :operating_policy, T.nilable(Inttegro::Application::OperatingPolicy), default: nil end |