Class: Etna::Clients::Magma::RenameAttributeAction

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

Returns a new instance of RenameAttributeAction.



144
145
146
# File 'lib/etna/clients/magma/models.rb', line 144

def initialize(args = {}, **kwds)
  super(**{action_name: 'rename_attribute'}.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



141
142
143
# File 'lib/etna/clients/magma/models.rb', line 141

def action_name
  @action_name
end

#attribute_nameObject

Returns the value of attribute attribute_name

Returns:

  • (Object)

    the current value of attribute_name



141
142
143
# File 'lib/etna/clients/magma/models.rb', line 141

def attribute_name
  @attribute_name
end

#model_nameObject

Returns the value of attribute model_name

Returns:

  • (Object)

    the current value of model_name



141
142
143
# File 'lib/etna/clients/magma/models.rb', line 141

def model_name
  @model_name
end

#new_attribute_nameObject

Returns the value of attribute new_attribute_name

Returns:

  • (Object)

    the current value of new_attribute_name



141
142
143
# File 'lib/etna/clients/magma/models.rb', line 141

def new_attribute_name
  @new_attribute_name
end