Class: Etna::Clients::Magma::UpdateAttributeAction
- Inherits:
-
Struct
- Object
- Struct
- Etna::Clients::Magma::UpdateAttributeAction
- 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.
-
#unique ⇒ Object
Returns the value of attribute unique.
-
#validation ⇒ Object
Returns the value of attribute validation.
Instance Method Summary collapse
- #as_json ⇒ Object
- #desc ⇒ Object
- #desc=(val) ⇒ Object
-
#initialize(**args) ⇒ UpdateAttributeAction
constructor
A new instance of UpdateAttributeAction.
Methods included from JsonSerializableStruct
Constructor Details
#initialize(**args) ⇒ UpdateAttributeAction
Returns a new instance of UpdateAttributeAction.
115 116 117 |
# File 'lib/etna/clients/magma/models.rb', line 115 def initialize(**args) super({action_name: 'update_attribute'}.update(args)) end |
Instance Attribute Details
#action_name ⇒ Object
Returns the value of attribute action_name
112 113 114 |
# File 'lib/etna/clients/magma/models.rb', line 112 def action_name @action_name end |
#attribute_group ⇒ Object
Returns the value of attribute attribute_group
112 113 114 |
# File 'lib/etna/clients/magma/models.rb', line 112 def attribute_group @attribute_group end |
#attribute_name ⇒ Object
Returns the value of attribute attribute_name
112 113 114 |
# File 'lib/etna/clients/magma/models.rb', line 112 def attribute_name @attribute_name end |
#description ⇒ Object
Returns the value of attribute description
112 113 114 |
# File 'lib/etna/clients/magma/models.rb', line 112 def description @description end |
#display_name ⇒ Object
Returns the value of attribute display_name
112 113 114 |
# File 'lib/etna/clients/magma/models.rb', line 112 def display_name @display_name end |
#format_hint ⇒ Object
Returns the value of attribute format_hint
112 113 114 |
# File 'lib/etna/clients/magma/models.rb', line 112 def format_hint @format_hint end |
#hidden ⇒ Object
Returns the value of attribute hidden
112 113 114 |
# File 'lib/etna/clients/magma/models.rb', line 112 def hidden @hidden end |
#index ⇒ Object
Returns the value of attribute index
112 113 114 |
# File 'lib/etna/clients/magma/models.rb', line 112 def index @index end |
#link_model_name ⇒ Object
Returns the value of attribute link_model_name
112 113 114 |
# File 'lib/etna/clients/magma/models.rb', line 112 def link_model_name @link_model_name end |
#model_name ⇒ Object
Returns the value of attribute model_name
112 113 114 |
# File 'lib/etna/clients/magma/models.rb', line 112 def model_name @model_name end |
#read_only ⇒ Object
Returns the value of attribute read_only
112 113 114 |
# File 'lib/etna/clients/magma/models.rb', line 112 def read_only @read_only end |
#restricted ⇒ Object
Returns the value of attribute restricted
112 113 114 |
# File 'lib/etna/clients/magma/models.rb', line 112 def restricted @restricted end |
#unique ⇒ Object
Returns the value of attribute unique
112 113 114 |
# File 'lib/etna/clients/magma/models.rb', line 112 def unique @unique end |
#validation ⇒ Object
Returns the value of attribute validation
112 113 114 |
# File 'lib/etna/clients/magma/models.rb', line 112 def validation @validation end |
Instance Method Details
#as_json ⇒ Object
127 128 129 |
# File 'lib/etna/clients/magma/models.rb', line 127 def as_json super(keep_nils: true) end |
#desc ⇒ Object
123 124 125 |
# File 'lib/etna/clients/magma/models.rb', line 123 def desc self.description end |
#desc=(val) ⇒ Object
119 120 121 |
# File 'lib/etna/clients/magma/models.rb', line 119 def desc=(val) self.description = val end |