Class: Etna::Clients::Magma::AddLinkAction

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 = {}, **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_nameObject

Returns the value of attribute action_name

Returns:

  • (Object)

    the current value of action_name



109
110
111
# File 'lib/etna/clients/magma/models.rb', line 109

def action_name
  @action_name
end

Returns the value of attribute links

Returns:

  • (Object)

    the current value of links



109
110
111
# File 'lib/etna/clients/magma/models.rb', line 109

def links
  @links
end