Class: Inttegro::Application::CreateRequestRelationshipPolicy
- Inherits:
-
T::Struct
- Object
- T::Struct
- Inttegro::Application::CreateRequestRelationshipPolicy
- Defined in:
- lib/inttegro/app/create_request_relationship_policy.rb
Overview
Optional direct-placement relationship policy. Omitted values default to parent management and child credentials.
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
-
#child_standing ⇒ String?
readonly
Initial standing assigned to the child in this relationship.
-
#credentials ⇒ Inttegro::Application::CredentialOwner?
readonly
Who can create, rotate, or disable the child app's API keys after creation.
-
#management ⇒ Inttegro::Application::ManagementRole?
readonly
Who can manage the child app and its resources through this relationship.
Instance Attribute Details
#child_standing ⇒ String? (readonly)
Initial standing assigned to the child in this relationship.
Optional in the API payload; omitted values default to nil. Wire name: child_standing.
39 40 41 42 43 |
# File 'lib/inttegro/app/create_request_relationship_policy.rb', line 39 class CreateRequestRelationshipPolicy < T::Struct const :child_standing, T.nilable(String), default: nil const :management, T.nilable(Inttegro::Application::ManagementRole), default: nil const :credentials, T.nilable(Inttegro::Application::CredentialOwner), default: nil end |
#credentials ⇒ Inttegro::Application::CredentialOwner? (readonly)
Who can create, rotate, or disable the child app's API keys after creation. Defaults to child. In V1, apps/create still returns the initial child key to the caller.
Optional in the API payload; omitted values default to nil. Wire name: credentials.
39 40 41 42 43 |
# File 'lib/inttegro/app/create_request_relationship_policy.rb', line 39 class CreateRequestRelationshipPolicy < T::Struct const :child_standing, T.nilable(String), default: nil const :management, T.nilable(Inttegro::Application::ManagementRole), default: nil const :credentials, T.nilable(Inttegro::Application::CredentialOwner), default: nil end |
#management ⇒ Inttegro::Application::ManagementRole? (readonly)
Who can manage the child app and its resources through this relationship.
Optional in the API payload; omitted values default to nil. Wire name: management.
39 40 41 42 43 |
# File 'lib/inttegro/app/create_request_relationship_policy.rb', line 39 class CreateRequestRelationshipPolicy < T::Struct const :child_standing, T.nilable(String), default: nil const :management, T.nilable(Inttegro::Application::ManagementRole), default: nil const :credentials, T.nilable(Inttegro::Application::CredentialOwner), default: nil end |