Class CancelledMessage
- java.lang.Object
-
- pl.gsmservice.gateway.models.components.CancelledMessage
-
public class CancelledMessage extends java.lang.ObjectCancelledMessageAn object containing information about results of cancelling single message
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCancelledMessage.Builder
-
Constructor Summary
Constructors Constructor Description CancelledMessage()CancelledMessage(java.util.Optional<java.lang.Long> id, java.util.Optional<java.lang.Long> status, org.openapitools.jackson.nullable.JsonNullable<? extends ErrorResponse> error)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CancelledMessage.Builderbuilder()booleanequals(java.lang.Object o)org.openapitools.jackson.nullable.JsonNullable<ErrorResponse>error()An object that complies with RFC 9457 containing information about a request errorinthashCode()java.util.Optional<java.lang.Long>id()Message IDjava.util.Optional<java.lang.Long>status()Status of cancellation (204 if cancelled successfully or error status code)java.lang.StringtoString()CancelledMessagewithError(org.openapitools.jackson.nullable.JsonNullable<? extends ErrorResponse> error)An object that complies with RFC 9457 containing information about a request errorCancelledMessagewithError(ErrorResponse error)An object that complies with RFC 9457 containing information about a request errorCancelledMessagewithId(long id)Message IDCancelledMessagewithId(java.util.Optional<java.lang.Long> id)Message IDCancelledMessagewithStatus(long status)Status of cancellation (204 if cancelled successfully or error status code)CancelledMessagewithStatus(java.util.Optional<java.lang.Long> status)Status of cancellation (204 if cancelled successfully or error status code)
-
-
-
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
-
builder
public static CancelledMessage.Builder builder()
-
withId
public CancelledMessage withId(long id)
Message ID
-
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:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-