Class: Inttegro::Application::LookedUpRelationshipParent

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

Overview

Application that directly contains the authenticated app.

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)


35
36
37
38
39
# File 'lib/inttegro/app/looked_up_relationship_parent.rb', line 35

class LookedUpRelationshipParent < T::Struct
  const :id, String
  const :name, String
  const :alias, T.nilable(String), 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)


35
36
37
38
39
# File 'lib/inttegro/app/looked_up_relationship_parent.rb', line 35

class LookedUpRelationshipParent < T::Struct
  const :id, String
  const :name, String
  const :alias, T.nilable(String), 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)


35
36
37
38
39
# File 'lib/inttegro/app/looked_up_relationship_parent.rb', line 35

class LookedUpRelationshipParent < T::Struct
  const :id, String
  const :name, String
  const :alias, T.nilable(String), default: nil
end