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) ⇒ AddLinkAction



95
96
97
# File 'lib/etna/clients/magma/models.rb', line 95

def initialize(**args)
  super({action_name: 'add_link', links: []}.update(args))
end

Instance Attribute Details

#action_nameObject

Returns the value of attribute action_name



92
93
94
# File 'lib/etna/clients/magma/models.rb', line 92

def action_name
  @action_name
end

Returns the value of attribute links



92
93
94
# File 'lib/etna/clients/magma/models.rb', line 92

def links
  @links
end