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

Returns a new instance of AddModelAction.



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

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

Instance Attribute Details

#action_nameObject

Returns the value of attribute action_name

Returns:

  • (Object)

    the current value of action_name



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

def action_name
  @action_name
end

#date_shift_rootObject

Returns the value of attribute date_shift_root

Returns:

  • (Object)

    the current value of date_shift_root



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

def date_shift_root
  @date_shift_root
end

#identifierObject

Returns the value of attribute identifier

Returns:

  • (Object)

    the current value of identifier



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

def identifier
  @identifier
end

#model_nameObject

Returns the value of attribute model_name

Returns:

  • (Object)

    the current value of model_name



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

def model_name
  @model_name
end

Returns the value of attribute parent_link_type

Returns:

  • (Object)

    the current value of parent_link_type



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

def parent_link_type
  @parent_link_type
end

#parent_model_nameObject

Returns the value of attribute parent_model_name

Returns:

  • (Object)

    the current value of parent_model_name



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

def parent_model_name
  @parent_model_name
end