Package com.openai.models.webhooks
Class ResponseCancelledWebhookEvent.Data
-
- All Implemented Interfaces:
public final class ResponseCancelledWebhookEvent.DataEvent data payload.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classResponseCancelledWebhookEvent.Data.BuilderA builder for Data.
-
Method Summary
Modifier and Type Method Description final Stringid()The unique ID of the model response. final JsonField<String>_id()Returns the raw JSON value of id. final Map<String, JsonValue>_additionalProperties()final ResponseCancelledWebhookEvent.Data.BuildertoBuilder()final ResponseCancelledWebhookEvent.Datavalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static ResponseCancelledWebhookEvent.Data.Builderbuilder()Returns a mutable builder for constructing an instance of Data. -
-
Method Detail
-
_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.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final ResponseCancelledWebhookEvent.Data.Builder toBuilder()
-
validate
final ResponseCancelledWebhookEvent.Data 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 ResponseCancelledWebhookEvent.Data.Builder builder()
Returns a mutable builder for constructing an instance of Data.
The following fields are required:
.id()
-
-
-
-