Class: Inttegro::Application::RelationshipPolicy

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

Overview

Typed representation of the relationship policy 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

#child_standing ⇒ String (readonly)

Value of the child_standing field in the Inttegro API payload.

Required in the API payload. Wire name: child_standing.

Returns:

  • (String)


37
38
39
40
41
# File 'lib/inttegro/app/relationship_policy.rb', line 37

class RelationshipPolicy < T::Struct
  const :child_standing, String
  const :management, Inttegro::Application::ManagementRole
  const :credentials, Inttegro::Application::CredentialOwner
end

#credentials ⇒ Inttegro::Application::CredentialOwner (readonly)

Value of the credentials field in the Inttegro API payload.

Required in the API payload. Wire name: credentials.



37
38
39
40
41
# File 'lib/inttegro/app/relationship_policy.rb', line 37

class RelationshipPolicy < T::Struct
  const :child_standing, String
  const :management, Inttegro::Application::ManagementRole
  const :credentials, Inttegro::Application::CredentialOwner
end

#management ⇒ Inttegro::Application::ManagementRole (readonly)

Value of the management field in the Inttegro API payload.

Required in the API payload. Wire name: management.



37
38
39
40
41
# File 'lib/inttegro/app/relationship_policy.rb', line 37

class RelationshipPolicy < T::Struct
  const :child_standing, String
  const :management, Inttegro::Application::ManagementRole
  const :credentials, Inttegro::Application::CredentialOwner
end