Class: Etna::Clients::Magma::SetModelTemplateAction
- Inherits:
-
Struct
- Object
- Struct
- Etna::Clients::Magma::SetModelTemplateAction
- Includes:
- JsonSerializableStruct
- Defined in:
- lib/etna/clients/magma/models.rb
Instance Attribute Summary collapse
-
#action_name ⇒ Object
Returns the value of attribute action_name.
-
#clear_template ⇒ Object
Returns the value of attribute clear_template.
-
#model_name ⇒ Object
Returns the value of attribute model_name.
-
#template_model_name ⇒ Object
Returns the value of attribute template_model_name.
-
#template_project_name ⇒ Object
Returns the value of attribute template_project_name.
Instance Method Summary collapse
-
#initialize(**args) ⇒ SetModelTemplateAction
constructor
A new instance of SetModelTemplateAction.
Methods included from JsonSerializableStruct
Constructor Details
#initialize(**args) ⇒ SetModelTemplateAction
Returns a new instance of SetModelTemplateAction.
80 81 82 |
# File 'lib/etna/clients/magma/models.rb', line 80 def initialize(**args) super({action_name: 'set_model_template', clear_template: false}.update(args)) end |
Instance Attribute Details
#action_name ⇒ Object
Returns the value of attribute action_name
77 78 79 |
# File 'lib/etna/clients/magma/models.rb', line 77 def action_name @action_name end |
#clear_template ⇒ Object
Returns the value of attribute clear_template
77 78 79 |
# File 'lib/etna/clients/magma/models.rb', line 77 def clear_template @clear_template end |
#model_name ⇒ Object
Returns the value of attribute model_name
77 78 79 |
# File 'lib/etna/clients/magma/models.rb', line 77 def model_name @model_name end |
#template_model_name ⇒ Object
Returns the value of attribute template_model_name
77 78 79 |
# File 'lib/etna/clients/magma/models.rb', line 77 def template_model_name @template_model_name end |
#template_project_name ⇒ Object
Returns the value of attribute template_project_name
77 78 79 |
# File 'lib/etna/clients/magma/models.rb', line 77 def template_project_name @template_project_name end |