Class: Etna::Clients::Magma::UpdateAttributeAction

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

included, #to_json

Constructor Details

#initialize(**args) ⇒ UpdateAttributeAction



124
125
126
# File 'lib/etna/clients/magma/models.rb', line 124

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

Instance Attribute Details

#action_nameObject

Returns the value of attribute action_name



121
122
123
# File 'lib/etna/clients/magma/models.rb', line 121

def action_name
  @action_name
end

#attribute_groupObject

Returns the value of attribute attribute_group



121
122
123
# File 'lib/etna/clients/magma/models.rb', line 121

def attribute_group
  @attribute_group
end

#attribute_nameObject

Returns the value of attribute attribute_name



121
122
123
# File 'lib/etna/clients/magma/models.rb', line 121

def attribute_name
  @attribute_name
end

#descriptionObject

Returns the value of attribute description



121
122
123
# File 'lib/etna/clients/magma/models.rb', line 121

def description
  @description
end

#display_nameObject

Returns the value of attribute display_name



121
122
123
# File 'lib/etna/clients/magma/models.rb', line 121

def display_name
  @display_name
end

#format_hintObject

Returns the value of attribute format_hint



121
122
123
# File 'lib/etna/clients/magma/models.rb', line 121

def format_hint
  @format_hint
end

#hiddenObject

Returns the value of attribute hidden



121
122
123
# File 'lib/etna/clients/magma/models.rb', line 121

def hidden
  @hidden
end

#indexObject

Returns the value of attribute index



121
122
123
# File 'lib/etna/clients/magma/models.rb', line 121

def index
  @index
end

Returns the value of attribute link_model_name



121
122
123
# File 'lib/etna/clients/magma/models.rb', line 121

def link_model_name
  @link_model_name
end

#model_nameObject

Returns the value of attribute model_name



121
122
123
# File 'lib/etna/clients/magma/models.rb', line 121

def model_name
  @model_name
end

#read_onlyObject

Returns the value of attribute read_only



121
122
123
# File 'lib/etna/clients/magma/models.rb', line 121

def read_only
  @read_only
end

#restrictedObject

Returns the value of attribute restricted



121
122
123
# File 'lib/etna/clients/magma/models.rb', line 121

def restricted
  @restricted
end

#uniqueObject

Returns the value of attribute unique



121
122
123
# File 'lib/etna/clients/magma/models.rb', line 121

def unique
  @unique
end

#validationObject

Returns the value of attribute validation



121
122
123
# File 'lib/etna/clients/magma/models.rb', line 121

def validation
  @validation
end

Instance Method Details

#as_jsonObject



128
129
130
# File 'lib/etna/clients/magma/models.rb', line 128

def as_json
  super(keep_nils: true)
end