Class: Cadenya::Types::ToolOverlay_ParameterAction_Set
- Inherits:
-
Object
- Object
- Cadenya::Types::ToolOverlay_ParameterAction_Set
- Defined in:
- lib/cadenya/types.rb
Instance Attribute Summary collapse
-
#set ⇒ Object
readonly
Returns the value of attribute set.
-
#type ⇒ Object
readonly
Returns the value of attribute type.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(type: nil, set: nil) ⇒ ToolOverlay_ParameterAction_Set
constructor
A new instance of ToolOverlay_ParameterAction_Set.
- #to_h ⇒ Object
Constructor Details
#initialize(type: nil, set: nil) ⇒ ToolOverlay_ParameterAction_Set
Returns a new instance of ToolOverlay_ParameterAction_Set.
8389 8390 8391 8392 |
# File 'lib/cadenya/types.rb', line 8389 def initialize(type: nil, set: nil) @type = type @set = set end |
Instance Attribute Details
#set ⇒ Object (readonly)
Returns the value of attribute set.
8387 8388 8389 |
# File 'lib/cadenya/types.rb', line 8387 def set @set end |
#type ⇒ Object (readonly)
Returns the value of attribute type.
8387 8388 8389 |
# File 'lib/cadenya/types.rb', line 8387 def type @type end |
Class Method Details
.from_json(data) ⇒ Object
8394 8395 8396 8397 8398 8399 |
# File 'lib/cadenya/types.rb', line 8394 def self.from_json(data) new( type: data["type"], set: data["set"].nil? ? nil : Types::ParameterAction_Set.from_json(data["set"]), ) end |