Class: Etna::Clients::Magma::AddAttributeAction

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

Returns a new instance of AddAttributeAction.



88
89
90
# File 'lib/etna/clients/magma/models.rb', line 88

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



85
86
87
# File 'lib/etna/clients/magma/models.rb', line 85

def action_name
  @action_name
end

#attribute_groupObject

Returns the value of attribute attribute_group

Returns:

  • (Object)

    the current value of attribute_group



85
86
87
# File 'lib/etna/clients/magma/models.rb', line 85

def attribute_group
  @attribute_group
end

#attribute_nameObject

Returns the value of attribute attribute_name

Returns:

  • (Object)

    the current value of attribute_name



85
86
87
# File 'lib/etna/clients/magma/models.rb', line 85

def attribute_name
  @attribute_name
end

#descriptionObject

Returns the value of attribute description

Returns:

  • (Object)

    the current value of description



85
86
87
# File 'lib/etna/clients/magma/models.rb', line 85

def description
  @description
end

#display_nameObject

Returns the value of attribute display_name

Returns:

  • (Object)

    the current value of display_name



85
86
87
# File 'lib/etna/clients/magma/models.rb', line 85

def display_name
  @display_name
end

#format_hintObject

Returns the value of attribute format_hint

Returns:

  • (Object)

    the current value of format_hint



85
86
87
# File 'lib/etna/clients/magma/models.rb', line 85

def format_hint
  @format_hint
end

#hiddenObject

Returns the value of attribute hidden

Returns:

  • (Object)

    the current value of hidden



85
86
87
# File 'lib/etna/clients/magma/models.rb', line 85

def hidden
  @hidden
end

#indexObject

Returns the value of attribute index

Returns:

  • (Object)

    the current value of index



85
86
87
# File 'lib/etna/clients/magma/models.rb', line 85

def index
  @index
end

Returns the value of attribute link_model_name

Returns:

  • (Object)

    the current value of link_model_name



85
86
87
# File 'lib/etna/clients/magma/models.rb', line 85

def link_model_name
  @link_model_name
end

#model_nameObject

Returns the value of attribute model_name

Returns:

  • (Object)

    the current value of model_name



85
86
87
# File 'lib/etna/clients/magma/models.rb', line 85

def model_name
  @model_name
end

#read_onlyObject

Returns the value of attribute read_only

Returns:

  • (Object)

    the current value of read_only



85
86
87
# File 'lib/etna/clients/magma/models.rb', line 85

def read_only
  @read_only
end

#restrictedObject

Returns the value of attribute restricted

Returns:

  • (Object)

    the current value of restricted



85
86
87
# File 'lib/etna/clients/magma/models.rb', line 85

def restricted
  @restricted
end

#typeObject

Returns the value of attribute type

Returns:

  • (Object)

    the current value of type



85
86
87
# File 'lib/etna/clients/magma/models.rb', line 85

def type
  @type
end

#uniqueObject

Returns the value of attribute unique

Returns:

  • (Object)

    the current value of unique



85
86
87
# File 'lib/etna/clients/magma/models.rb', line 85

def unique
  @unique
end

#validationObject

Returns the value of attribute validation

Returns:

  • (Object)

    the current value of validation



85
86
87
# File 'lib/etna/clients/magma/models.rb', line 85

def validation
  @validation
end

Instance Method Details

#attribute_typeObject



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

def attribute_type
  self.type
end

#attribute_type=(val) ⇒ Object



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

def attribute_type=(val)
  self.type = val
end

#descObject



104
105
106
# File 'lib/etna/clients/magma/models.rb', line 104

def desc
  self.description
end

#desc=(val) ⇒ Object



100
101
102
# File 'lib/etna/clients/magma/models.rb', line 100

def desc=(val)
  self.description = val
end