Class: Inttegro::MessageTemplate::VariableItemInput
- Inherits:
-
T::Struct
- Object
- T::Struct
- Inttegro::MessageTemplate::VariableItemInput
- Defined in:
- lib/inttegro/message_template/variable_item_input.rb
Overview
Typed representation of the variable item input 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
-
#about ⇒ String?
readonly
Value of the
aboutfield in the Inttegro API payload. -
#default ⇒ Object?
readonly
Value of the
defaultfield in the Inttegro API payload. -
#name ⇒ String
readonly
Value of the
namefield in the Inttegro API payload. -
#required ⇒ Boolean?
readonly
Value of the
requiredfield in the Inttegro API payload. -
#type ⇒ Inttegro::MessageTemplate::VariableItemType
readonly
Value of the
typefield in the Inttegro API payload.
Instance Attribute Details
#about ⇒ String? (readonly)
Value of the about field in the Inttegro API payload.
Optional in the API payload; omitted values default to nil. Wire name: about.
48 49 50 51 52 53 54 |
# File 'lib/inttegro/message_template/variable_item_input.rb', line 48 class VariableItemInput < T::Struct const :about, T.nilable(String), default: nil const :default, T.nilable(Object), default: nil const :name, String const :required, T.nilable(T::Boolean), default: nil const :type, Inttegro::MessageTemplate::VariableItemType end |
#default ⇒ Object? (readonly)
Value of the default field in the Inttegro API payload.
Optional in the API payload; omitted values default to nil. Wire name: default.
48 49 50 51 52 53 54 |
# File 'lib/inttegro/message_template/variable_item_input.rb', line 48 class VariableItemInput < T::Struct const :about, T.nilable(String), default: nil const :default, T.nilable(Object), default: nil const :name, String const :required, T.nilable(T::Boolean), default: nil const :type, Inttegro::MessageTemplate::VariableItemType end |
#name ⇒ String (readonly)
Value of the name field in the Inttegro API payload.
Required in the API payload. Wire name: name.
48 49 50 51 52 53 54 |
# File 'lib/inttegro/message_template/variable_item_input.rb', line 48 class VariableItemInput < T::Struct const :about, T.nilable(String), default: nil const :default, T.nilable(Object), default: nil const :name, String const :required, T.nilable(T::Boolean), default: nil const :type, Inttegro::MessageTemplate::VariableItemType end |
#required ⇒ Boolean? (readonly)
Value of the required field in the Inttegro API payload.
Optional in the API payload; omitted values default to nil. Wire name: required.
48 49 50 51 52 53 54 |
# File 'lib/inttegro/message_template/variable_item_input.rb', line 48 class VariableItemInput < T::Struct const :about, T.nilable(String), default: nil const :default, T.nilable(Object), default: nil const :name, String const :required, T.nilable(T::Boolean), default: nil const :type, Inttegro::MessageTemplate::VariableItemType end |
#type ⇒ Inttegro::MessageTemplate::VariableItemType (readonly)
Value of the type field in the Inttegro API payload.
Required in the API payload. Wire name: type.
48 49 50 51 52 53 54 |
# File 'lib/inttegro/message_template/variable_item_input.rb', line 48 class VariableItemInput < T::Struct const :about, T.nilable(String), default: nil const :default, T.nilable(Object), default: nil const :name, String const :required, T.nilable(T::Boolean), default: nil const :type, Inttegro::MessageTemplate::VariableItemType end |