Class: Etna::Clients::Magma::AddAttributeAction
- Inherits:
-
Struct
- Object
- Struct
- Etna::Clients::Magma::AddAttributeAction
- Includes:
- JsonSerializableStruct
- Defined in:
- lib/etna/clients/magma/models.rb
Instance Attribute Summary collapse
-
#action_name ⇒ Object
Returns the value of attribute action_name.
-
#attribute_group ⇒ Object
Returns the value of attribute attribute_group.
-
#attribute_name ⇒ Object
Returns the value of attribute attribute_name.
-
#description ⇒ Object
Returns the value of attribute description.
-
#display_name ⇒ Object
Returns the value of attribute display_name.
-
#format_hint ⇒ Object
Returns the value of attribute format_hint.
-
#hidden ⇒ Object
Returns the value of attribute hidden.
-
#index ⇒ Object
Returns the value of attribute index.
-
#link_model_name ⇒ Object
Returns the value of attribute link_model_name.
-
#model_name ⇒ Object
Returns the value of attribute model_name.
-
#read_only ⇒ Object
Returns the value of attribute read_only.
-
#restricted ⇒ Object
Returns the value of attribute restricted.
-
#type ⇒ Object
Returns the value of attribute type.
-
#unique ⇒ Object
Returns the value of attribute unique.
-
#validation ⇒ Object
Returns the value of attribute validation.
Instance Method Summary collapse
- #attribute_type ⇒ Object
- #attribute_type=(val) ⇒ Object
- #desc ⇒ Object
- #desc=(val) ⇒ Object
-
#initialize(args = {}, **kwds) ⇒ AddAttributeAction
constructor
A new instance of AddAttributeAction.
Methods included from JsonSerializableStruct
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_name ⇒ Object
Returns the value of attribute action_name
85 86 87 |
# File 'lib/etna/clients/magma/models.rb', line 85 def action_name @action_name end |
#attribute_group ⇒ Object
Returns the value of attribute attribute_group
85 86 87 |
# File 'lib/etna/clients/magma/models.rb', line 85 def attribute_group @attribute_group end |
#attribute_name ⇒ Object
Returns the value of attribute attribute_name
85 86 87 |
# File 'lib/etna/clients/magma/models.rb', line 85 def attribute_name @attribute_name end |
#description ⇒ Object
Returns the value of attribute description
85 86 87 |
# File 'lib/etna/clients/magma/models.rb', line 85 def description @description end |
#display_name ⇒ Object
Returns the value of attribute display_name
85 86 87 |
# File 'lib/etna/clients/magma/models.rb', line 85 def display_name @display_name end |
#format_hint ⇒ Object
Returns the value of attribute format_hint
85 86 87 |
# File 'lib/etna/clients/magma/models.rb', line 85 def format_hint @format_hint end |
#hidden ⇒ Object
Returns the value of attribute hidden
85 86 87 |
# File 'lib/etna/clients/magma/models.rb', line 85 def hidden @hidden end |
#index ⇒ Object
Returns the value of attribute index
85 86 87 |
# File 'lib/etna/clients/magma/models.rb', line 85 def index @index end |
#link_model_name ⇒ Object
Returns the value of attribute link_model_name
85 86 87 |
# File 'lib/etna/clients/magma/models.rb', line 85 def link_model_name @link_model_name end |
#model_name ⇒ Object
Returns the value of attribute model_name
85 86 87 |
# File 'lib/etna/clients/magma/models.rb', line 85 def model_name @model_name end |
#read_only ⇒ Object
Returns the value of attribute read_only
85 86 87 |
# File 'lib/etna/clients/magma/models.rb', line 85 def read_only @read_only end |
#restricted ⇒ Object
Returns the value of attribute restricted
85 86 87 |
# File 'lib/etna/clients/magma/models.rb', line 85 def restricted @restricted end |
#type ⇒ Object
Returns the value of attribute type
85 86 87 |
# File 'lib/etna/clients/magma/models.rb', line 85 def type @type end |
#unique ⇒ Object
Returns the value of attribute unique
85 86 87 |
# File 'lib/etna/clients/magma/models.rb', line 85 def unique @unique end |
#validation ⇒ Object
Returns the value of attribute validation
85 86 87 |
# File 'lib/etna/clients/magma/models.rb', line 85 def validation @validation end |
Instance Method Details
#attribute_type ⇒ Object
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 |
#desc ⇒ Object
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 |