Class: Etna::Clients::Magma::AddModelAction
- Inherits:
-
Struct
- Object
- Struct
- Etna::Clients::Magma::AddModelAction
- Includes:
- JsonSerializableStruct
- Defined in:
- lib/etna/clients/magma/models.rb
Instance Attribute Summary collapse
-
#action_name ⇒ Object
Returns the value of attribute action_name.
-
#date_shift_root ⇒ Object
Returns the value of attribute date_shift_root.
-
#identifier ⇒ Object
Returns the value of attribute identifier.
-
#model_name ⇒ Object
Returns the value of attribute model_name.
-
#parent_link_type ⇒ Object
Returns the value of attribute parent_link_type.
-
#parent_model_name ⇒ Object
Returns the value of attribute parent_model_name.
Instance Method Summary collapse
-
#initialize(**args) ⇒ AddModelAction
constructor
A new instance of AddModelAction.
Methods included from JsonSerializableStruct
Constructor Details
#initialize(**args) ⇒ AddModelAction
Returns a new instance of AddModelAction.
64 65 66 |
# File 'lib/etna/clients/magma/models.rb', line 64 def initialize(**args) super({action_name: 'add_model', date_shift_root: false}.update(args)) end |
Instance Attribute Details
#action_name ⇒ Object
Returns the value of attribute action_name
61 62 63 |
# File 'lib/etna/clients/magma/models.rb', line 61 def action_name @action_name end |
#date_shift_root ⇒ Object
Returns the value of attribute date_shift_root
61 62 63 |
# File 'lib/etna/clients/magma/models.rb', line 61 def date_shift_root @date_shift_root end |
#identifier ⇒ Object
Returns the value of attribute identifier
61 62 63 |
# File 'lib/etna/clients/magma/models.rb', line 61 def identifier @identifier end |
#model_name ⇒ Object
Returns the value of attribute model_name
61 62 63 |
# File 'lib/etna/clients/magma/models.rb', line 61 def model_name @model_name end |
#parent_link_type ⇒ Object
Returns the value of attribute parent_link_type
61 62 63 |
# File 'lib/etna/clients/magma/models.rb', line 61 def parent_link_type @parent_link_type end |
#parent_model_name ⇒ Object
Returns the value of attribute parent_model_name
61 62 63 |
# File 'lib/etna/clients/magma/models.rb', line 61 def parent_model_name @parent_model_name end |