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)


77
78
79
80
81
82
83
84
85
86
87
# File 'lib/inttegro/app/updated.rb', line 77

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::Application::UpdatedChildrenPolicy), default: nil
  const :operating_policy, T.nilable(Inttegro::Application::UpdatedOperatingPolicy), 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.

Required in the API payload. Wire name: capabilities.



77
78
79
80
81
82
83
84
85
86
87
# File 'lib/inttegro/app/updated.rb', line 77

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::Application::UpdatedChildrenPolicy), default: nil
  const :operating_policy, T.nilable(Inttegro::Application::UpdatedOperatingPolicy), default: nil
end

#children_policy ⇒ Inttegro::Application::UpdatedChildrenPolicy? (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.



77
78
79
80
81
82
83
84
85
86
87
# File 'lib/inttegro/app/updated.rb', line 77

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::Application::UpdatedChildrenPolicy), default: nil
  const :operating_policy, T.nilable(Inttegro::Application::UpdatedOperatingPolicy), 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)


77
78
79
80
81
82
83
84
85
86
87
# File 'lib/inttegro/app/updated.rb', line 77

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::Application::UpdatedChildrenPolicy), default: nil
  const :operating_policy, T.nilable(Inttegro::Application::UpdatedOperatingPolicy), 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)


77
78
79
80
81
82
83
84
85
86
87
# File 'lib/inttegro/app/updated.rb', line 77

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::Application::UpdatedChildrenPolicy), default: nil
  const :operating_policy, T.nilable(Inttegro::Application::UpdatedOperatingPolicy), 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)


77
78
79
80
81
82
83
84
85
86
87
# File 'lib/inttegro/app/updated.rb', line 77

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::Application::UpdatedChildrenPolicy), default: nil
  const :operating_policy, T.nilable(Inttegro::Application::UpdatedOperatingPolicy), 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)


77
78
79
80
81
82
83
84
85
86
87
# File 'lib/inttegro/app/updated.rb', line 77

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::Application::UpdatedChildrenPolicy), default: nil
  const :operating_policy, T.nilable(Inttegro::Application::UpdatedOperatingPolicy), default: nil
end

#operating_policy ⇒ Inttegro::Application::UpdatedOperatingPolicy? (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.



77
78
79
80
81
82
83
84
85
86
87
# File 'lib/inttegro/app/updated.rb', line 77

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::Application::UpdatedChildrenPolicy), default: nil
  const :operating_policy, T.nilable(Inttegro::Application::UpdatedOperatingPolicy), 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)


77
78
79
80
81
82
83
84
85
86
87
# File 'lib/inttegro/app/updated.rb', line 77

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::Application::UpdatedChildrenPolicy), default: nil
  const :operating_policy, T.nilable(Inttegro::Application::UpdatedOperatingPolicy), default: nil
end