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

Returns a new instance of RenameAttributeAction.



136
137
138
# File 'lib/etna/clients/magma/models.rb', line 136

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

Instance Attribute Details

#action_nameObject

Returns the value of attribute action_name

Returns:

  • (Object)

    the current value of action_name



133
134
135
# File 'lib/etna/clients/magma/models.rb', line 133

def action_name
  @action_name
end

#attribute_nameObject

Returns the value of attribute attribute_name

Returns:

  • (Object)

    the current value of attribute_name



133
134
135
# File 'lib/etna/clients/magma/models.rb', line 133

def attribute_name
  @attribute_name
end

#model_nameObject

Returns the value of attribute model_name

Returns:

  • (Object)

    the current value of model_name



133
134
135
# File 'lib/etna/clients/magma/models.rb', line 133

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



133
134
135
# File 'lib/etna/clients/magma/models.rb', line 133

def new_attribute_name
  @new_attribute_name
end