Builder
A builder for WebhookConfig.
Functions
Link copied to clipboard
public final CreateModelInteractionParams.WebhookConfig.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
Link copied to clipboard
Adds a single String to Builder.uris.
Link copied to clipboard
Returns an immutable instance of WebhookConfig.
Link copied to clipboard
public final CreateModelInteractionParams.WebhookConfig.Builder putAdditionalProperty(String key, JsonValue value)
Link copied to clipboard
public final CreateModelInteractionParams.WebhookConfig.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
Link copied to clipboard
public final CreateModelInteractionParams.WebhookConfig.Builder removeAdditionalProperty(String key)
Link copied to clipboard
public final CreateModelInteractionParams.WebhookConfig.Builder removeAllAdditionalProperties(Set<String> keys)
Link copied to clipboard
Sets Builder.uris to an arbitrary JSON value.
Optional. If set, these webhook URIs will be used for webhook events instead of the registered webhooks.
Link copied to clipboard
public final CreateModelInteractionParams.WebhookConfig.Builder userMetadata(JsonField<CreateModelInteractionParams.WebhookConfig.UserMetadata> userMetadata)
Sets Builder.userMetadata to an arbitrary JSON value.
public final CreateModelInteractionParams.WebhookConfig.Builder userMetadata(CreateModelInteractionParams.WebhookConfig.UserMetadata userMetadata)
Optional. The user metadata that will be returned on each event emission to the webhooks.