Class: Cadenya::Types::OmitToolRequest
- Inherits:
-
Object
- Object
- Cadenya::Types::OmitToolRequest
- Defined in:
- lib/cadenya/types.rb
Instance Attribute Summary collapse
-
#id ⇒ Object
readonly
Returns the value of attribute id.
-
#tool_set_id ⇒ Object
readonly
Returns the value of attribute tool_set_id.
-
#workspace_id ⇒ Object
readonly
Returns the value of attribute workspace_id.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(workspace_id: nil, tool_set_id: nil, id: nil) ⇒ OmitToolRequest
constructor
A new instance of OmitToolRequest.
- #to_h ⇒ Object
Constructor Details
#initialize(workspace_id: nil, tool_set_id: nil, id: nil) ⇒ OmitToolRequest
Returns a new instance of OmitToolRequest.
4367 4368 4369 4370 4371 |
# File 'lib/cadenya/types.rb', line 4367 def initialize(workspace_id: nil, tool_set_id: nil, id: nil) @workspace_id = workspace_id @tool_set_id = tool_set_id @id = id end |
Instance Attribute Details
#id ⇒ Object (readonly)
Returns the value of attribute id.
4365 4366 4367 |
# File 'lib/cadenya/types.rb', line 4365 def id @id end |
#tool_set_id ⇒ Object (readonly)
Returns the value of attribute tool_set_id.
4365 4366 4367 |
# File 'lib/cadenya/types.rb', line 4365 def tool_set_id @tool_set_id end |
#workspace_id ⇒ Object (readonly)
Returns the value of attribute workspace_id.
4365 4366 4367 |
# File 'lib/cadenya/types.rb', line 4365 def workspace_id @workspace_id end |
Class Method Details
.from_json(data) ⇒ Object
4373 4374 4375 4376 4377 4378 4379 |
# File 'lib/cadenya/types.rb', line 4373 def self.from_json(data) new( workspace_id: data["workspaceId"], tool_set_id: data["toolSetId"], id: data["id"], ) end |