Class UnwrapWebhookEvent
-
- All Implemented Interfaces:
public final class UnwrapWebhookEvent
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classUnwrapWebhookEvent.BuilderA builder for UnwrapWebhookEvent.
-
Method Summary
Modifier and Type Method Description final Stringid()Unique event identifier for idempotency. final OffsetDateTimecreatedAt()RFC 3339 timestamp when the event occurred. final BetaWebhookEventDatadata()final JsonValue_type()Object type. final JsonField<String>_id()Returns the raw JSON value of id. final JsonField<OffsetDateTime>_createdAt()Returns the raw JSON value of createdAt. final JsonField<BetaWebhookEventData>_data()Returns the raw JSON value of data. final Map<String, JsonValue>_additionalProperties()final UnwrapWebhookEvent.BuildertoBuilder()final UnwrapWebhookEventvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static UnwrapWebhookEvent.Builderbuilder()Returns a mutable builder for constructing an instance of UnwrapWebhookEvent. -
-
Method Detail
-
createdAt
final OffsetDateTime createdAt()
RFC 3339 timestamp when the event occurred.
-
data
final BetaWebhookEventData data()
-
_type
final JsonValue _type()
Object type. Always
eventfor webhook payloads.Expected to always return the following:
JsonValue.from("event")However, this method can be useful for debugging and logging (e.g. if the server responded with an unexpected value).
-
_id
final JsonField<String> _id()
Returns the raw JSON value of id.
Unlike id, this method doesn't throw if the JSON field has an unexpected type.
-
_createdAt
final JsonField<OffsetDateTime> _createdAt()
Returns the raw JSON value of createdAt.
Unlike createdAt, this method doesn't throw if the JSON field has an unexpected type.
-
_data
final JsonField<BetaWebhookEventData> _data()
Returns the raw JSON value of data.
Unlike data, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final UnwrapWebhookEvent.Builder toBuilder()
-
validate
final UnwrapWebhookEvent validate()
Validates that the types of all values in this object match their expected types recursively.
This method is not forwards compatible with new types from the API for existing fields.
-
builder
final static UnwrapWebhookEvent.Builder builder()
Returns a mutable builder for constructing an instance of UnwrapWebhookEvent.
The following fields are required:
.id() .createdAt() .data()
-
-
-
-