Class: StackOne::Models::Operations::StackoneMcpPostRequest
- Inherits:
-
Object
- Object
- StackOne::Models::Operations::StackoneMcpPostRequest
- Extended by:
- T::Sig
- Includes:
- Crystalline::MetadataFields
- Defined in:
- lib/stack_one/models/operations/stackone_mcp_post_request.rb
Instance Method Summary collapse
- #==(other) ⇒ Object
-
#initialize(json_rpc_message_dto:, mcp_session_id: nil, param_style: nil, tool_mode: nil, x_account_id: nil, x_account_id_query_parameter: nil) ⇒ StackoneMcpPostRequest
constructor
A new instance of StackoneMcpPostRequest.
Methods included from Crystalline::MetadataFields
#field, #fields, included, #marshal_single, #to_dict, #to_json
Constructor Details
#initialize(json_rpc_message_dto:, mcp_session_id: nil, param_style: nil, tool_mode: nil, x_account_id: nil, x_account_id_query_parameter: nil) ⇒ StackoneMcpPostRequest
Returns a new instance of StackoneMcpPostRequest.
29 30 31 32 33 34 35 36 |
# File 'lib/stack_one/models/operations/stackone_mcp_post_request.rb', line 29 def initialize(json_rpc_message_dto:, mcp_session_id: nil, param_style: nil, tool_mode: nil, x_account_id: nil, x_account_id_query_parameter: nil) @json_rpc_message_dto = @mcp_session_id = mcp_session_id @param_style = param_style @tool_mode = tool_mode @x_account_id = x_account_id @x_account_id_query_parameter = x_account_id_query_parameter end |
Instance Method Details
#==(other) ⇒ Object
39 40 41 42 43 44 45 46 47 48 |
# File 'lib/stack_one/models/operations/stackone_mcp_post_request.rb', line 39 def ==(other) return false unless other.is_a? self.class return false unless @json_rpc_message_dto == other. return false unless @mcp_session_id == other.mcp_session_id return false unless @param_style == other.param_style return false unless @tool_mode == other.tool_mode return false unless @x_account_id == other.x_account_id return false unless @x_account_id_query_parameter == other.x_account_id_query_parameter true end |