Package com.lithic.api.models
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()Globally unique identifier. final JsonField<OffsetDateTime>_created()An RFC 3339 timestamp for when the event was created. final JsonField<String>_eventSubscriptionToken()Globally unique identifier. final JsonField<String>_eventToken()Globally unique identifier. final JsonField<String>_response()The response body from the event subscription's URL. final JsonField<Long>_responseStatusCode()The response status code from the event subscription's URL. final JsonField<MessageAttempt.Status>_status()The status of the event attempt. final JsonField<String>_url()final Map<String, JsonValue>_additionalProperties()final MessageAttemptvalidate()final MessageAttempt.BuildertoBuilder()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.
-
_created
final JsonField<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 JsonField<String> _eventSubscriptionToken()
Globally unique identifier.
-
_eventToken
final JsonField<String> _eventToken()
Globally unique identifier.
-
_responseStatusCode
final JsonField<Long> _responseStatusCode()
The response status code from the event subscription's URL.
-
_status
final JsonField<MessageAttempt.Status> _status()
The status of the event attempt.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
validate
final MessageAttempt validate()
-
toBuilder
final MessageAttempt.Builder toBuilder()
-
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()
-
-
-
-