Class StackoneMcpGetRequest


  • public class StackoneMcpGetRequest
    extends java.lang.Object
    • Constructor Detail

      • StackoneMcpGetRequest

        public StackoneMcpGetRequest​(java.util.Optional<java.lang.String> xAccountId,
                                     java.util.Optional<? extends java.lang.Object> xAccountIdQueryParameter,
                                     java.lang.String mcpSessionId)
      • StackoneMcpGetRequest

        public StackoneMcpGetRequest​(java.lang.String mcpSessionId)
    • 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.lang.String mcpSessionId()
        Session id
      • withXAccountId

        public StackoneMcpGetRequest withXAccountId​(java.lang.String xAccountId)
        Account secure id for the target provider account (optional if x-account-id query parameter is provided)
      • withXAccountId

        public StackoneMcpGetRequest 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 StackoneMcpGetRequest withXAccountIdQueryParameter​(java.lang.Object xAccountIdQueryParameter)
        Account secure id (alternative to x-account-id header)
      • withXAccountIdQueryParameter

        public StackoneMcpGetRequest withXAccountIdQueryParameter​(java.util.Optional<? extends java.lang.Object> xAccountIdQueryParameter)
        Account secure id (alternative to x-account-id header)
      • withMcpSessionId

        public StackoneMcpGetRequest withMcpSessionId​(java.lang.String mcpSessionId)
        Session id
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object