Class: Inttegro::Application::Updated

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

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.

Returns:

  • (String, nil)


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.

Returns:

  • (Time)


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.

Returns:

  • (String, nil)


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.

Returns:

  • (String)


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.

Returns:

  • (String)


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.

Returns:

  • (Time, nil)


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