Class CancelledMessage


  • public class CancelledMessage
    extends java.lang.Object
    CancelledMessage

    An object containing information about results of cancelling single message

    • Constructor Detail

      • CancelledMessage

        public CancelledMessage​(java.util.Optional<java.lang.Long> id,
                                java.util.Optional<java.lang.Long> status,
                                org.openapitools.jackson.nullable.JsonNullable<? extends ErrorResponse> error)
      • CancelledMessage

        public CancelledMessage()
    • Method Detail

      • id

        public java.util.Optional<java.lang.Long> id()
        Message ID
      • status

        public java.util.Optional<java.lang.Long> status()
        Status of cancellation (204 if cancelled successfully or error status code)
      • error

        public org.openapitools.jackson.nullable.JsonNullable<ErrorResponse> error()
        An object that complies with RFC 9457 containing information about a request error
      • withId

        public CancelledMessage withId​(java.util.Optional<java.lang.Long> id)
        Message ID
      • withStatus

        public CancelledMessage withStatus​(long status)
        Status of cancellation (204 if cancelled successfully or error status code)
      • withStatus

        public CancelledMessage withStatus​(java.util.Optional<java.lang.Long> status)
        Status of cancellation (204 if cancelled successfully or error status code)
      • withError

        public CancelledMessage withError​(ErrorResponse error)
        An object that complies with RFC 9457 containing information about a request error
      • withError

        public CancelledMessage withError​(org.openapitools.jackson.nullable.JsonNullable<? extends ErrorResponse> error)
        An object that complies with RFC 9457 containing information about a request error
      • 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