Class: StackOne::Models::Operations::StackoneMcpPostResponseBody
- Inherits:
-
Object
- Object
- StackOne::Models::Operations::StackoneMcpPostResponseBody
- Extended by:
- T::Sig
- Includes:
- Crystalline::MetadataFields
- Defined in:
- lib/stack_one/models/operations/stackone_mcp_post_responsebody.rb
Overview
Processed successfully
Instance Method Summary collapse
- #==(other) ⇒ Object
-
#initialize(error: nil, jsonrpc: nil, id: nil, result: nil) ⇒ StackoneMcpPostResponseBody
constructor
A new instance of StackoneMcpPostResponseBody.
Methods included from Crystalline::MetadataFields
#field, #fields, included, #marshal_single, #to_dict, #to_json
Constructor Details
#initialize(error: nil, jsonrpc: nil, id: nil, result: nil) ⇒ StackoneMcpPostResponseBody
Returns a new instance of StackoneMcpPostResponseBody.
25 26 27 28 29 30 |
# File 'lib/stack_one/models/operations/stackone_mcp_post_responsebody.rb', line 25 def initialize(error: nil, jsonrpc: nil, id: nil, result: nil) @error = error @jsonrpc = jsonrpc @id = id @result = result end |
Instance Method Details
#==(other) ⇒ Object
33 34 35 36 37 38 39 40 |
# File 'lib/stack_one/models/operations/stackone_mcp_post_responsebody.rb', line 33 def ==(other) return false unless other.is_a? self.class return false unless @error == other.error return false unless @jsonrpc == other.jsonrpc return false unless @id == other.id return false unless @result == other.result true end |