Class MessageAttempt
-
- All Implemented Interfaces:
public final class MessageAttemptA subscription to specific event types.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classMessageAttempt.BuilderA builder for MessageAttempt.
public final classMessageAttempt.StatusThe status of the event attempt.
-
Method Summary
Modifier and Type Method Description final Stringtoken()Globally unique identifier. final OffsetDateTimecreated()An RFC 3339 timestamp for when the event was created. final StringeventSubscriptionToken()Globally unique identifier. final StringeventToken()Globally unique identifier. final Stringresponse()The response body from the event subscription's URL. final LongresponseStatusCode()The response status code from the event subscription's URL. final MessageAttempt.Statusstatus()The status of the event attempt. final Stringurl()final JsonField<String>_token()Returns the raw JSON value of token. final JsonField<OffsetDateTime>_created()Returns the raw JSON value of created. final JsonField<String>_eventSubscriptionToken()Returns the raw JSON value of eventSubscriptionToken. final JsonField<String>_eventToken()Returns the raw JSON value of eventToken. final JsonField<String>_response()Returns the raw JSON value of response. final JsonField<Long>_responseStatusCode()Returns the raw JSON value of responseStatusCode. final JsonField<MessageAttempt.Status>_status()Returns the raw JSON value of status. final JsonField<String>_url()Returns the raw JSON value of url. final Map<String, JsonValue>_additionalProperties()final MessageAttempt.BuildertoBuilder()final MessageAttemptvalidate()final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static MessageAttempt.Builderbuilder()Returns a mutable builder for constructing an instance of MessageAttempt. -
-
Method Detail
-
created
final OffsetDateTime created()
An RFC 3339 timestamp for when the event was created. UTC time zone.
If no timezone is specified, UTC will be used.
-
eventSubscriptionToken
final String eventSubscriptionToken()
Globally unique identifier.
-
eventToken
final String eventToken()
Globally unique identifier.
-
responseStatusCode
final Long responseStatusCode()
The response status code from the event subscription's URL.
-
status
final MessageAttempt.Status status()
The status of the event attempt.
-
_token
final JsonField<String> _token()
Returns the raw JSON value of token.
Unlike token, this method doesn't throw if the JSON field has an unexpected type.
-
_created
final JsonField<OffsetDateTime> _created()
Returns the raw JSON value of created.
Unlike created, this method doesn't throw if the JSON field has an unexpected type.
-
_eventSubscriptionToken
final JsonField<String> _eventSubscriptionToken()
Returns the raw JSON value of eventSubscriptionToken.
Unlike eventSubscriptionToken, this method doesn't throw if the JSON field has an unexpected type.
-
_eventToken
final JsonField<String> _eventToken()
Returns the raw JSON value of eventToken.
Unlike eventToken, this method doesn't throw if the JSON field has an unexpected type.
-
_response
final JsonField<String> _response()
Returns the raw JSON value of response.
Unlike response, this method doesn't throw if the JSON field has an unexpected type.
-
_responseStatusCode
final JsonField<Long> _responseStatusCode()
Returns the raw JSON value of responseStatusCode.
Unlike responseStatusCode, this method doesn't throw if the JSON field has an unexpected type.
-
_status
final JsonField<MessageAttempt.Status> _status()
Returns the raw JSON value of status.
Unlike status, this method doesn't throw if the JSON field has an unexpected type.
-
_url
final JsonField<String> _url()
Returns the raw JSON value of url.
Unlike url, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final MessageAttempt.Builder toBuilder()
-
validate
final MessageAttempt validate()
-
builder
final static MessageAttempt.Builder builder()
Returns a mutable builder for constructing an instance of MessageAttempt.
The following fields are required:
.token() .created() .eventSubscriptionToken() .eventToken() .response() .responseStatusCode() .status() .url()
-
-
-
-