Class: Inttegro::Shared::CreateOperatingPolicyRequest
- Inherits:
-
T::Struct
- Object
- T::Struct
- Inttegro::Shared::CreateOperatingPolicyRequest
- Defined in:
- lib/inttegro/shared/create_operating_policy_request.rb
Overview
Typed representation of the create operating policy request 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
-
#capabilities ⇒ Inttegro::Shared::OperatingPolicyCapabilitiesInput
readonly
Value of the
capabilitiesfield in the Inttegro API payload. -
#description ⇒ String?
readonly
Value of the
descriptionfield in the Inttegro API payload. -
#name ⇒ String
readonly
Value of the
namefield in the Inttegro API payload.
Instance Attribute Details
#capabilities ⇒ Inttegro::Shared::OperatingPolicyCapabilitiesInput (readonly)
Value of the capabilities field in the Inttegro API payload.
Required in the API payload. Wire name: capabilities.
36 37 38 39 40 |
# File 'lib/inttegro/shared/create_operating_policy_request.rb', line 36 class CreateOperatingPolicyRequest < T::Struct const :name, String const :description, T.nilable(String), default: nil const :capabilities, Inttegro::Shared::OperatingPolicyCapabilitiesInput end |
#description ⇒ String? (readonly)
Value of the description field in the Inttegro API payload.
Optional in the API payload; omitted values default to nil. Wire name: description.
36 37 38 39 40 |
# File 'lib/inttegro/shared/create_operating_policy_request.rb', line 36 class CreateOperatingPolicyRequest < T::Struct const :name, String const :description, T.nilable(String), default: nil const :capabilities, Inttegro::Shared::OperatingPolicyCapabilitiesInput end |
#name ⇒ String (readonly)
Value of the name field in the Inttegro API payload.
Required in the API payload. Wire name: name.
36 37 38 39 40 |
# File 'lib/inttegro/shared/create_operating_policy_request.rb', line 36 class CreateOperatingPolicyRequest < T::Struct const :name, String const :description, T.nilable(String), default: nil const :capabilities, Inttegro::Shared::OperatingPolicyCapabilitiesInput end |