Class StackoneMcpPostRequest
- java.lang.Object
-
- com.stackone.stackone_client_java.models.operations.StackoneMcpPostRequest
-
public class StackoneMcpPostRequest extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classStackoneMcpPostRequest.Builder
-
Constructor Summary
Constructors Constructor Description StackoneMcpPostRequest(JsonRpcMessageDto jsonRpcMessageDto)StackoneMcpPostRequest(java.util.Optional<java.lang.String> xAccountId, java.util.Optional<? extends java.lang.Object> xAccountIdQueryParameter, java.util.Optional<java.lang.String> mcpSessionId, JsonRpcMessageDto jsonRpcMessageDto)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static StackoneMcpPostRequest.Builderbuilder()booleanequals(java.lang.Object o)inthashCode()JsonRpcMessageDtojsonRpcMessageDto()JSON-RPC 2.0 messagejava.util.Optional<java.lang.String>mcpSessionId()Session id; omit for initialize, include for subsequent callsjava.lang.StringtoString()StackoneMcpPostRequestwithJsonRpcMessageDto(JsonRpcMessageDto jsonRpcMessageDto)JSON-RPC 2.0 messageStackoneMcpPostRequestwithMcpSessionId(java.lang.String mcpSessionId)Session id; omit for initialize, include for subsequent callsStackoneMcpPostRequestwithMcpSessionId(java.util.Optional<java.lang.String> mcpSessionId)Session id; omit for initialize, include for subsequent callsStackoneMcpPostRequestwithXAccountId(java.lang.String xAccountId)Account secure id for the target provider account (optional if x-account-id query parameter is provided)StackoneMcpPostRequestwithXAccountId(java.util.Optional<java.lang.String> xAccountId)Account secure id for the target provider account (optional if x-account-id query parameter is provided)StackoneMcpPostRequestwithXAccountIdQueryParameter(java.lang.Object xAccountIdQueryParameter)Account secure id (alternative to x-account-id header)StackoneMcpPostRequestwithXAccountIdQueryParameter(java.util.Optional<? extends java.lang.Object> xAccountIdQueryParameter)Account secure id (alternative to x-account-id header)java.util.Optional<java.lang.String>xAccountId()Account secure id for the target provider account (optional if x-account-id query parameter is provided)java.util.Optional<java.lang.Object>xAccountIdQueryParameter()Account secure id (alternative to x-account-id header)
-
-
-
Constructor Detail
-
StackoneMcpPostRequest
public StackoneMcpPostRequest(java.util.Optional<java.lang.String> xAccountId, java.util.Optional<? extends java.lang.Object> xAccountIdQueryParameter, java.util.Optional<java.lang.String> mcpSessionId, JsonRpcMessageDto jsonRpcMessageDto)
-
StackoneMcpPostRequest
public StackoneMcpPostRequest(JsonRpcMessageDto jsonRpcMessageDto)
-
-
Method Detail
-
xAccountId
public java.util.Optional<java.lang.String> xAccountId()
Account secure id for the target provider account (optional if x-account-id query parameter is provided)
-
xAccountIdQueryParameter
public java.util.Optional<java.lang.Object> xAccountIdQueryParameter()
Account secure id (alternative to x-account-id header)
-
mcpSessionId
public java.util.Optional<java.lang.String> mcpSessionId()
Session id; omit for initialize, include for subsequent calls
-
jsonRpcMessageDto
public JsonRpcMessageDto jsonRpcMessageDto()
JSON-RPC 2.0 message
-
builder
public static StackoneMcpPostRequest.Builder builder()
-
withXAccountId
public StackoneMcpPostRequest withXAccountId(java.lang.String xAccountId)
Account secure id for the target provider account (optional if x-account-id query parameter is provided)
-
withXAccountId
public StackoneMcpPostRequest withXAccountId(java.util.Optional<java.lang.String> xAccountId)
Account secure id for the target provider account (optional if x-account-id query parameter is provided)
-
withXAccountIdQueryParameter
public StackoneMcpPostRequest withXAccountIdQueryParameter(java.lang.Object xAccountIdQueryParameter)
Account secure id (alternative to x-account-id header)
-
withXAccountIdQueryParameter
public StackoneMcpPostRequest withXAccountIdQueryParameter(java.util.Optional<? extends java.lang.Object> xAccountIdQueryParameter)
Account secure id (alternative to x-account-id header)
-
withMcpSessionId
public StackoneMcpPostRequest withMcpSessionId(java.lang.String mcpSessionId)
Session id; omit for initialize, include for subsequent calls
-
withMcpSessionId
public StackoneMcpPostRequest withMcpSessionId(java.util.Optional<java.lang.String> mcpSessionId)
Session id; omit for initialize, include for subsequent calls
-
withJsonRpcMessageDto
public StackoneMcpPostRequest withJsonRpcMessageDto(JsonRpcMessageDto jsonRpcMessageDto)
JSON-RPC 2.0 message
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-