Class: Etna::Clients::Magma::UpdateModelRequest
- Inherits:
-
Struct
- Object
- Struct
- Etna::Clients::Magma::UpdateModelRequest
- Includes:
- JsonSerializableStruct
- Defined in:
- lib/etna/clients/magma/models.rb
Instance Attribute Summary collapse
-
#actions ⇒ Object
Returns the value of attribute actions.
-
#project_name ⇒ Object
Returns the value of attribute project_name.
Instance Method Summary collapse
- #add_action(action) ⇒ Object
-
#initialize(**params) ⇒ UpdateModelRequest
constructor
A new instance of UpdateModelRequest.
Methods included from JsonSerializableStruct
Constructor Details
#initialize(**params) ⇒ UpdateModelRequest
Returns a new instance of UpdateModelRequest.
52 53 54 |
# File 'lib/etna/clients/magma/models.rb', line 52 def initialize(**params) super({actions: []}.update(params)) end |
Instance Attribute Details
#actions ⇒ Object
Returns the value of attribute actions
49 50 51 |
# File 'lib/etna/clients/magma/models.rb', line 49 def actions @actions end |
#project_name ⇒ Object
Returns the value of attribute project_name
49 50 51 |
# File 'lib/etna/clients/magma/models.rb', line 49 def project_name @project_name end |
Instance Method Details
#add_action(action) ⇒ Object
56 57 58 |
# File 'lib/etna/clients/magma/models.rb', line 56 def add_action(action) actions << action end |