Class: Inttegro::Application::Relationship
- Inherits:
-
T::Struct
- Object
- T::Struct
- Inttegro::Application::Relationship
- Defined in:
- lib/inttegro/app/relationship.rb
Overview
Identifies the created app's direct placement relationship.
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
-
#created_at ⇒ Time
readonly
Value of the
created_atfield in the Inttegro API payload. -
#id ⇒ String
readonly
Value of the
idfield in the Inttegro API payload. -
#kind ⇒ Inttegro::Application::RelationshipKind
readonly
Value of the
kindfield in the Inttegro API payload. -
#parent ⇒ Inttegro::Application::RelationshipParent
readonly
Application that directly contains the created app.
-
#status ⇒ Inttegro::Application::RelationshipStatus
readonly
Value of the
statusfield in the Inttegro API payload.
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.
50 51 52 53 54 55 56 |
# File 'lib/inttegro/app/relationship.rb', line 50 class Relationship < T::Struct const :id, String const :kind, Inttegro::Application::RelationshipKind const :parent, Inttegro::Application::RelationshipParent 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.
50 51 52 53 54 55 56 |
# File 'lib/inttegro/app/relationship.rb', line 50 class Relationship < T::Struct const :id, String const :kind, Inttegro::Application::RelationshipKind const :parent, Inttegro::Application::RelationshipParent 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/relationship.rb', line 50 class Relationship < T::Struct const :id, String const :kind, Inttegro::Application::RelationshipKind const :parent, Inttegro::Application::RelationshipParent const :status, Inttegro::Application::RelationshipStatus const :created_at, Time end |
#parent ⇒ Inttegro::Application::RelationshipParent (readonly)
Application that directly contains the created app.
Required in the API payload. Wire name: parent.
50 51 52 53 54 55 56 |
# File 'lib/inttegro/app/relationship.rb', line 50 class Relationship < T::Struct const :id, String const :kind, Inttegro::Application::RelationshipKind const :parent, Inttegro::Application::RelationshipParent 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/relationship.rb', line 50 class Relationship < T::Struct const :id, String const :kind, Inttegro::Application::RelationshipKind const :parent, Inttegro::Application::RelationshipParent const :status, Inttegro::Application::RelationshipStatus const :created_at, Time end |