Class: Etna::Clients::Magma::AddModelAction

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



63
64
65
# File 'lib/etna/clients/magma/models.rb', line 63

def initialize(**args)
  super({action_name: 'add_model'}.update(args))
end

Instance Attribute Details

#action_nameObject

Returns the value of attribute action_name



60
61
62
# File 'lib/etna/clients/magma/models.rb', line 60

def action_name
  @action_name
end

#identifierObject

Returns the value of attribute identifier



60
61
62
# File 'lib/etna/clients/magma/models.rb', line 60

def identifier
  @identifier
end

#model_nameObject

Returns the value of attribute model_name



60
61
62
# File 'lib/etna/clients/magma/models.rb', line 60

def model_name
  @model_name
end

Returns the value of attribute parent_link_type



60
61
62
# File 'lib/etna/clients/magma/models.rb', line 60

def parent_link_type
  @parent_link_type
end

#parent_model_nameObject

Returns the value of attribute parent_model_name



60
61
62
# File 'lib/etna/clients/magma/models.rb', line 60

def parent_model_name
  @parent_model_name
end