Class: Cadenya::Types::ToolOverlay_ParameterAction_Remove
- Inherits:
-
Object
- Object
- Cadenya::Types::ToolOverlay_ParameterAction_Remove
- Defined in:
- lib/cadenya/types.rb
Instance Attribute Summary collapse
-
#remove ⇒ Object
readonly
Returns the value of attribute remove.
-
#type ⇒ Object
readonly
Returns the value of attribute type.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(type: nil, remove: nil) ⇒ ToolOverlay_ParameterAction_Remove
constructor
A new instance of ToolOverlay_ParameterAction_Remove.
- #to_h ⇒ Object
Constructor Details
#initialize(type: nil, remove: nil) ⇒ ToolOverlay_ParameterAction_Remove
Returns a new instance of ToolOverlay_ParameterAction_Remove.
8366 8367 8368 8369 |
# File 'lib/cadenya/types.rb', line 8366 def initialize(type: nil, remove: nil) @type = type @remove = remove end |
Instance Attribute Details
#remove ⇒ Object (readonly)
Returns the value of attribute remove.
8364 8365 8366 |
# File 'lib/cadenya/types.rb', line 8364 def remove @remove end |
#type ⇒ Object (readonly)
Returns the value of attribute type.
8364 8365 8366 |
# File 'lib/cadenya/types.rb', line 8364 def type @type end |
Class Method Details
.from_json(data) ⇒ Object
8371 8372 8373 8374 8375 8376 |
# File 'lib/cadenya/types.rb', line 8371 def self.from_json(data) new( type: data["type"], remove: data["remove"].nil? ? nil : Types::ParameterAction_Remove.from_json(data["remove"]), ) end |