Class: Inttegro::Application::LookedUp

Inherits:
T::Struct
  • Object
show all
Defined in:
lib/inttegro/app/looked_up.rb

Overview

Typed representation of the looked up 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)


90
91
92
93
94
95
96
97
98
99
100
101
102
# File 'lib/inttegro/app/looked_up.rb', line 90

class LookedUp < 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 :archived_at, T.nilable(Time), default: nil
  const :capabilities, Inttegro::Application::CapabilityProjection
  const :children_policy, T.nilable(Inttegro::Application::LookedUpChildrenPolicy), default: nil
  const :operating_policy, T.nilable(Inttegro::Application::LookedUpOperatingPolicy), default: nil
  const :relationship, T.nilable(Inttegro::Application::LookedUpRelationship), default: nil
end

#archived_at ⇒ Time? (readonly)

Value of the archived_at field in the Inttegro API payload.

Optional in the API payload; omitted values default to nil. Wire name: archived_at.

Returns:

  • (Time, nil)


90
91
92
93
94
95
96
97
98
99
100
101
102
# File 'lib/inttegro/app/looked_up.rb', line 90

class LookedUp < 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 :archived_at, T.nilable(Time), default: nil
  const :capabilities, Inttegro::Application::CapabilityProjection
  const :children_policy, T.nilable(Inttegro::Application::LookedUpChildrenPolicy), default: nil
  const :operating_policy, T.nilable(Inttegro::Application::LookedUpOperatingPolicy), default: nil
  const :relationship, T.nilable(Inttegro::Application::LookedUpRelationship), 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.



90
91
92
93
94
95
96
97
98
99
100
101
102
# File 'lib/inttegro/app/looked_up.rb', line 90

class LookedUp < 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 :archived_at, T.nilable(Time), default: nil
  const :capabilities, Inttegro::Application::CapabilityProjection
  const :children_policy, T.nilable(Inttegro::Application::LookedUpChildrenPolicy), default: nil
  const :operating_policy, T.nilable(Inttegro::Application::LookedUpOperatingPolicy), default: nil
  const :relationship, T.nilable(Inttegro::Application::LookedUpRelationship), default: nil
end

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



90
91
92
93
94
95
96
97
98
99
100
101
102
# File 'lib/inttegro/app/looked_up.rb', line 90

class LookedUp < 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 :archived_at, T.nilable(Time), default: nil
  const :capabilities, Inttegro::Application::CapabilityProjection
  const :children_policy, T.nilable(Inttegro::Application::LookedUpChildrenPolicy), default: nil
  const :operating_policy, T.nilable(Inttegro::Application::LookedUpOperatingPolicy), default: nil
  const :relationship, T.nilable(Inttegro::Application::LookedUpRelationship), 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)


90
91
92
93
94
95
96
97
98
99
100
101
102
# File 'lib/inttegro/app/looked_up.rb', line 90

class LookedUp < 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 :archived_at, T.nilable(Time), default: nil
  const :capabilities, Inttegro::Application::CapabilityProjection
  const :children_policy, T.nilable(Inttegro::Application::LookedUpChildrenPolicy), default: nil
  const :operating_policy, T.nilable(Inttegro::Application::LookedUpOperatingPolicy), default: nil
  const :relationship, T.nilable(Inttegro::Application::LookedUpRelationship), 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)


90
91
92
93
94
95
96
97
98
99
100
101
102
# File 'lib/inttegro/app/looked_up.rb', line 90

class LookedUp < 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 :archived_at, T.nilable(Time), default: nil
  const :capabilities, Inttegro::Application::CapabilityProjection
  const :children_policy, T.nilable(Inttegro::Application::LookedUpChildrenPolicy), default: nil
  const :operating_policy, T.nilable(Inttegro::Application::LookedUpOperatingPolicy), default: nil
  const :relationship, T.nilable(Inttegro::Application::LookedUpRelationship), 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)


90
91
92
93
94
95
96
97
98
99
100
101
102
# File 'lib/inttegro/app/looked_up.rb', line 90

class LookedUp < 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 :archived_at, T.nilable(Time), default: nil
  const :capabilities, Inttegro::Application::CapabilityProjection
  const :children_policy, T.nilable(Inttegro::Application::LookedUpChildrenPolicy), default: nil
  const :operating_policy, T.nilable(Inttegro::Application::LookedUpOperatingPolicy), default: nil
  const :relationship, T.nilable(Inttegro::Application::LookedUpRelationship), 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)


90
91
92
93
94
95
96
97
98
99
100
101
102
# File 'lib/inttegro/app/looked_up.rb', line 90

class LookedUp < 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 :archived_at, T.nilable(Time), default: nil
  const :capabilities, Inttegro::Application::CapabilityProjection
  const :children_policy, T.nilable(Inttegro::Application::LookedUpChildrenPolicy), default: nil
  const :operating_policy, T.nilable(Inttegro::Application::LookedUpOperatingPolicy), default: nil
  const :relationship, T.nilable(Inttegro::Application::LookedUpRelationship), default: nil
end

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



90
91
92
93
94
95
96
97
98
99
100
101
102
# File 'lib/inttegro/app/looked_up.rb', line 90

class LookedUp < 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 :archived_at, T.nilable(Time), default: nil
  const :capabilities, Inttegro::Application::CapabilityProjection
  const :children_policy, T.nilable(Inttegro::Application::LookedUpChildrenPolicy), default: nil
  const :operating_policy, T.nilable(Inttegro::Application::LookedUpOperatingPolicy), default: nil
  const :relationship, T.nilable(Inttegro::Application::LookedUpRelationship), default: nil
end

#relationship ⇒ Inttegro::Application::LookedUpRelationship? (readonly)

Identifies the authenticated app's direct placement relationship. Omitted for root apps.

Optional in the API payload; omitted values default to nil. Wire name: relationship.



90
91
92
93
94
95
96
97
98
99
100
101
102
# File 'lib/inttegro/app/looked_up.rb', line 90

class LookedUp < 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 :archived_at, T.nilable(Time), default: nil
  const :capabilities, Inttegro::Application::CapabilityProjection
  const :children_policy, T.nilable(Inttegro::Application::LookedUpChildrenPolicy), default: nil
  const :operating_policy, T.nilable(Inttegro::Application::LookedUpOperatingPolicy), default: nil
  const :relationship, T.nilable(Inttegro::Application::LookedUpRelationship), 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)


90
91
92
93
94
95
96
97
98
99
100
101
102
# File 'lib/inttegro/app/looked_up.rb', line 90

class LookedUp < 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 :archived_at, T.nilable(Time), default: nil
  const :capabilities, Inttegro::Application::CapabilityProjection
  const :children_policy, T.nilable(Inttegro::Application::LookedUpChildrenPolicy), default: nil
  const :operating_policy, T.nilable(Inttegro::Application::LookedUpOperatingPolicy), default: nil
  const :relationship, T.nilable(Inttegro::Application::LookedUpRelationship), default: nil
end