Package ai.extend.types
Class WebhookEndpointCreate
- java.lang.Object
-
- ai.extend.types.WebhookEndpointCreate
-
public final class WebhookEndpointCreate extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceWebhookEndpointCreate._FinalStagestatic interfaceWebhookEndpointCreate.ApiVersionStagestatic classWebhookEndpointCreate.Builderstatic interfaceWebhookEndpointCreate.CreatedAtStagestatic interfaceWebhookEndpointCreate.IdStagestatic interfaceWebhookEndpointCreate.NameStagestatic interfaceWebhookEndpointCreate.SigningSecretStagestatic interfaceWebhookEndpointCreate.StatusStagestatic interfaceWebhookEndpointCreate.UrlStage
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static WebhookEndpointCreate.IdStagebuilder()booleanequals(java.lang.Object other)java.util.Map<java.lang.String,java.lang.Object>getAdditionalProperties()java.util.Optional<WebhookAdvancedOptions>getAdvancedOptions()ApiVersionEnumgetApiVersion()java.time.OffsetDateTimegetCreatedAt()java.util.List<WebhookEndpointEventType>getEnabledEvents()java.lang.StringgetId()java.lang.StringgetName()java.lang.StringgetObject()java.lang.StringgetSigningSecret()WebhookEndpointStatusgetStatus()java.lang.StringgetUrl()inthashCode()java.lang.StringtoString()
-
-
-
Method Detail
-
getObject
public java.lang.String getObject()
-
getId
public java.lang.String getId()
- Returns:
- Unique identifier for the webhook endpoint.
-
getUrl
public java.lang.String getUrl()
- Returns:
- The URL that webhook events are sent to.
-
getName
public java.lang.String getName()
- Returns:
- A human-readable name for the webhook endpoint.
-
getStatus
public WebhookEndpointStatus getStatus()
-
getEnabledEvents
public java.util.List<WebhookEndpointEventType> getEnabledEvents()
- Returns:
- The list of event types this endpoint is subscribed to at the global level. These are events that are not scoped to a specific resource.
-
getApiVersion
public ApiVersionEnum getApiVersion()
-
getAdvancedOptions
public java.util.Optional<WebhookAdvancedOptions> getAdvancedOptions()
- Returns:
- Advanced configuration options for the webhook endpoint, including custom headers and payload delivery settings.
-
getSigningSecret
public java.lang.String getSigningSecret()
- Returns:
- The signing secret used to verify webhook payloads. This is only returned when creating the endpoint and cannot be retrieved again.
Store it securely — you will need it to verify webhook signatures.
-
getCreatedAt
public java.time.OffsetDateTime getCreatedAt()
- Returns:
- The date and time the webhook endpoint was created.
-
equals
public boolean equals(java.lang.Object other)
- Overrides:
equalsin classjava.lang.Object
-
getAdditionalProperties
public java.util.Map<java.lang.String,java.lang.Object> getAdditionalProperties()
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
builder
public static WebhookEndpointCreate.IdStage builder()
-
-