Class BetaNewOrganizationWebhookEndpoint
-
- All Implemented Interfaces:
public final class BetaNewOrganizationWebhookEndpointA new organization webhook endpoint, with its signing secret.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classBetaNewOrganizationWebhookEndpoint.BuilderA builder for BetaNewOrganizationWebhookEndpoint.
public final classBetaNewOrganizationWebhookEndpoint.EnabledEvent
-
Method Summary
Modifier and Type Method Description final Stringid()ID of the webhook endpoint. final OffsetDateTimecreatedAt()When the endpoint was created, in RFC 3339 format. final Stringdescription()Notes about the endpoint. final StringdisabledReason()Why Anthropic disabled the endpoint automatically. final List<BetaNewOrganizationWebhookEndpoint.EnabledEvent>enabledEvents()The event types delivered to the endpoint. final Stringname()A short label for the endpoint. final StringsigningSecret()The secret Anthropic signs deliveries to the endpoint with (prefix whsec_).final BetaOrganizationWebhookEndpointStatestate()Whether deliveries are sent to the endpoint. final OffsetDateTimeupdatedAt()When the endpoint was last changed, in RFC 3339 format. final Stringurl()The HTTPS URL that deliveries are sent to. final JsonField<String>_id()Returns the raw JSON value of id. final JsonField<OffsetDateTime>_createdAt()Returns the raw JSON value of createdAt. final JsonField<String>_description()Returns the raw JSON value of description. final JsonField<String>_disabledReason()Returns the raw JSON value of disabledReason. final JsonField<List<BetaNewOrganizationWebhookEndpoint.EnabledEvent>>_enabledEvents()Returns the raw JSON value of enabledEvents. final JsonField<String>_name()Returns the raw JSON value of name. final JsonField<String>_signingSecret()Returns the raw JSON value of signingSecret. final JsonField<BetaOrganizationWebhookEndpointState>_state()Returns the raw JSON value of state. final JsonField<OffsetDateTime>_updatedAt()Returns the raw JSON value of updatedAt. final JsonField<String>_url()Returns the raw JSON value of url. final Map<String, JsonValue>_additionalProperties()final BetaNewOrganizationWebhookEndpoint.BuildertoBuilder()final BetaNewOrganizationWebhookEndpointvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static BetaNewOrganizationWebhookEndpoint.Builderbuilder()Returns a mutable builder for constructing an instance of BetaNewOrganizationWebhookEndpoint. -
-
Method Detail
-
createdAt
final OffsetDateTime createdAt()
When the endpoint was created, in RFC 3339 format.
-
description
final String description()
Notes about the endpoint. An empty string when none were given.
-
disabledReason
final String disabledReason()
Why Anthropic disabled the endpoint automatically. An empty string when the endpoint is enabled, or when you disabled it.
-
enabledEvents
final List<BetaNewOrganizationWebhookEndpoint.EnabledEvent> enabledEvents()
The event types delivered to the endpoint.
-
signingSecret
final String signingSecret()
The secret Anthropic signs deliveries to the endpoint with (prefix
whsec_). No other response returns it, so store it now. To replace it, regenerate the signing secret.
-
state
final BetaOrganizationWebhookEndpointState state()
Whether deliveries are sent to the endpoint.
-
updatedAt
final OffsetDateTime updatedAt()
When the endpoint was last changed, in RFC 3339 format.
-
_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.
-
_description
final JsonField<String> _description()
Returns the raw JSON value of description.
Unlike description, this method doesn't throw if the JSON field has an unexpected type.
-
_disabledReason
final JsonField<String> _disabledReason()
Returns the raw JSON value of disabledReason.
Unlike disabledReason, this method doesn't throw if the JSON field has an unexpected type.
-
_enabledEvents
final JsonField<List<BetaNewOrganizationWebhookEndpoint.EnabledEvent>> _enabledEvents()
Returns the raw JSON value of enabledEvents.
Unlike enabledEvents, this method doesn't throw if the JSON field has an unexpected type.
-
_name
final JsonField<String> _name()
Returns the raw JSON value of name.
Unlike name, this method doesn't throw if the JSON field has an unexpected type.
-
_signingSecret
final JsonField<String> _signingSecret()
Returns the raw JSON value of signingSecret.
Unlike signingSecret, this method doesn't throw if the JSON field has an unexpected type.
-
_state
final JsonField<BetaOrganizationWebhookEndpointState> _state()
Returns the raw JSON value of state.
Unlike state, this method doesn't throw if the JSON field has an unexpected type.
-
_updatedAt
final JsonField<OffsetDateTime> _updatedAt()
Returns the raw JSON value of updatedAt.
Unlike updatedAt, 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 BetaNewOrganizationWebhookEndpoint.Builder toBuilder()
-
validate
final BetaNewOrganizationWebhookEndpoint 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 BetaNewOrganizationWebhookEndpoint.Builder builder()
Returns a mutable builder for constructing an instance of BetaNewOrganizationWebhookEndpoint.
The following fields are required:
.id() .createdAt() .description() .disabledReason() .enabledEvents() .name() .signingSecret() .state() .updatedAt() .url()
-
-
-
-