Class: Inttegro::Application::OperatingPolicy

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

Overview

Immutable operating policy snapshot applied to the application.

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

#capabilities ⇒ Inttegro::Shared::OperatingPolicyCapabilities (readonly)

Value of the capabilities field in the Inttegro API payload.

Required in the API payload. Wire name: capabilities.



31
32
33
34
# File 'lib/inttegro/app/operating_policy.rb', line 31

class OperatingPolicy < T::Struct
  const :capabilities, Inttegro::Shared::OperatingPolicyCapabilities
  const :source, Inttegro::Shared::OperatingPolicySource
end

#source ⇒ Inttegro::Shared::OperatingPolicySource (readonly)

Value of the source field in the Inttegro API payload.

Required in the API payload. Wire name: source.



31
32
33
34
# File 'lib/inttegro/app/operating_policy.rb', line 31

class OperatingPolicy < T::Struct
  const :capabilities, Inttegro::Shared::OperatingPolicyCapabilities
  const :source, Inttegro::Shared::OperatingPolicySource
end