Package com.openai.models.webhooks
Class ResponseFailedWebhookEvent.Data
-
- All Implemented Interfaces:
public final class ResponseFailedWebhookEvent.DataEvent data payload.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classResponseFailedWebhookEvent.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 ResponseFailedWebhookEvent.Data.BuildertoBuilder()final ResponseFailedWebhookEvent.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 ResponseFailedWebhookEvent.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 ResponseFailedWebhookEvent.Data.Builder toBuilder()
-
validate
final ResponseFailedWebhookEvent.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 ResponseFailedWebhookEvent.Data.Builder builder()
Returns a mutable builder for constructing an instance of Data.
The following fields are required:
.id()
-
-
-
-