Class: Inttegro::Application::LookedUpRelationship

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

Overview

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

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

#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)


50
51
52
53
54
55
56
# File 'lib/inttegro/app/looked_up_relationship.rb', line 50

class LookedUpRelationship < T::Struct
  const :id, String
  const :kind, Inttegro::Application::RelationshipKind
  const :parent, Inttegro::Application::LookedUpRelationshipParent
  const :status, Inttegro::Application::RelationshipStatus
  const :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.

Returns:

  • (String)


50
51
52
53
54
55
56
# File 'lib/inttegro/app/looked_up_relationship.rb', line 50

class LookedUpRelationship < T::Struct
  const :id, String
  const :kind, Inttegro::Application::RelationshipKind
  const :parent, Inttegro::Application::LookedUpRelationshipParent
  const :status, Inttegro::Application::RelationshipStatus
  const :created_at, Time
end

#kind ⇒ Inttegro::Application::RelationshipKind (readonly)

Value of the kind field in the Inttegro API payload.

Required in the API payload. Wire name: kind.



50
51
52
53
54
55
56
# File 'lib/inttegro/app/looked_up_relationship.rb', line 50

class LookedUpRelationship < T::Struct
  const :id, String
  const :kind, Inttegro::Application::RelationshipKind
  const :parent, Inttegro::Application::LookedUpRelationshipParent
  const :status, Inttegro::Application::RelationshipStatus
  const :created_at, Time
end

#parent ⇒ Inttegro::Application::LookedUpRelationshipParent (readonly)

Application that directly contains the authenticated app.

Required in the API payload. Wire name: parent.



50
51
52
53
54
55
56
# File 'lib/inttegro/app/looked_up_relationship.rb', line 50

class LookedUpRelationship < T::Struct
  const :id, String
  const :kind, Inttegro::Application::RelationshipKind
  const :parent, Inttegro::Application::LookedUpRelationshipParent
  const :status, Inttegro::Application::RelationshipStatus
  const :created_at, Time
end

#status ⇒ Inttegro::Application::RelationshipStatus (readonly)

Value of the status field in the Inttegro API payload.

Required in the API payload. Wire name: status.



50
51
52
53
54
55
56
# File 'lib/inttegro/app/looked_up_relationship.rb', line 50

class LookedUpRelationship < T::Struct
  const :id, String
  const :kind, Inttegro::Application::RelationshipKind
  const :parent, Inttegro::Application::LookedUpRelationshipParent
  const :status, Inttegro::Application::RelationshipStatus
  const :created_at, Time
end