Class: Etna::Clients::Magma::AddLinkAction
- Inherits:
-
Struct
- Object
- Struct
- Etna::Clients::Magma::AddLinkAction
- Includes:
- JsonSerializableStruct
- Defined in:
- lib/etna/clients/magma/models.rb
Instance Attribute Summary collapse
-
#action_name ⇒ Object
Returns the value of attribute action_name.
-
#links ⇒ Object
Returns the value of attribute links.
Instance Method Summary collapse
-
#initialize(args = {}, **kwds) ⇒ AddLinkAction
constructor
A new instance of AddLinkAction.
Methods included from JsonSerializableStruct
Constructor Details
#initialize(args = {}, **kwds) ⇒ AddLinkAction
Returns a new instance of AddLinkAction.
112 113 114 |
# File 'lib/etna/clients/magma/models.rb', line 112 def initialize(args = {}, **kwds) super(**{action_name: 'add_link', links: []}.update(args).update(kwds)) end |
Instance Attribute Details
#action_name ⇒ Object
Returns the value of attribute action_name
109 110 111 |
# File 'lib/etna/clients/magma/models.rb', line 109 def action_name @action_name end |
#links ⇒ Object
Returns the value of attribute links
109 110 111 |
# File 'lib/etna/clients/magma/models.rb', line 109 def links @links end |