Class: Inttegro::Shared::TemplateOperatingPolicySource
- Inherits:
-
T::Struct
- Object
- T::Struct
- Inttegro::Shared::TemplateOperatingPolicySource
- Defined in:
- lib/inttegro/shared/template_operating_policy_source.rb
Overview
Typed representation of the template operating policy source 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
-
#id ⇒ String
readonly
Template identifier.
-
#type ⇒ Inttegro::Shared::TemplateOperatingPolicySourceType
readonly
Value of the
typefield in the Inttegro API payload. -
#version ⇒ Integer
readonly
Template version.
Instance Attribute Details
#id ⇒ String (readonly)
Template identifier.
Required in the API payload. Wire name: id.
36 37 38 39 40 |
# File 'lib/inttegro/shared/template_operating_policy_source.rb', line 36 class TemplateOperatingPolicySource < T::Struct const :type, Inttegro::Shared::TemplateOperatingPolicySourceType const :id, String const :version, Integer end |
#type ⇒ Inttegro::Shared::TemplateOperatingPolicySourceType (readonly)
Value of the type field in the Inttegro API payload.
Required in the API payload. Wire name: type.
36 37 38 39 40 |
# File 'lib/inttegro/shared/template_operating_policy_source.rb', line 36 class TemplateOperatingPolicySource < T::Struct const :type, Inttegro::Shared::TemplateOperatingPolicySourceType const :id, String const :version, Integer end |
#version ⇒ Integer (readonly)
Template version.
Required in the API payload. Wire name: version.
36 37 38 39 40 |
# File 'lib/inttegro/shared/template_operating_policy_source.rb', line 36 class TemplateOperatingPolicySource < T::Struct const :type, Inttegro::Shared::TemplateOperatingPolicySourceType const :id, String const :version, Integer end |