Class: Etna::Clients::Magma::SetModelTemplateAction

Inherits:
Struct
  • Object
show all
Includes:
JsonSerializableStruct
Defined in:
lib/etna/clients/magma/models.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from JsonSerializableStruct

#as_json, included, #to_json

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_nameObject

Returns the value of attribute action_name

Returns:

  • (Object)

    the current value of action_name



77
78
79
# File 'lib/etna/clients/magma/models.rb', line 77

def action_name
  @action_name
end

#clear_templateObject

Returns the value of attribute clear_template

Returns:

  • (Object)

    the current value of clear_template



77
78
79
# File 'lib/etna/clients/magma/models.rb', line 77

def clear_template
  @clear_template
end

#model_nameObject

Returns the value of attribute model_name

Returns:

  • (Object)

    the current value of model_name



77
78
79
# File 'lib/etna/clients/magma/models.rb', line 77

def model_name
  @model_name
end

#template_model_nameObject

Returns the value of attribute template_model_name

Returns:

  • (Object)

    the current value of 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_nameObject

Returns the value of attribute template_project_name

Returns:

  • (Object)

    the current value of template_project_name



77
78
79
# File 'lib/etna/clients/magma/models.rb', line 77

def template_project_name
  @template_project_name
end