Class ChatCompletionDeleted
-
- All Implemented Interfaces:
public final class ChatCompletionDeleted
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classChatCompletionDeleted.BuilderA builder for ChatCompletionDeleted.
-
Method Summary
Modifier and Type Method Description final Stringid()The ID of the chat completion that was deleted. final Booleandeleted()Whether the chat completion was deleted. final JsonValue_object_()The type of object being deleted. final JsonField<String>_id()Returns the raw JSON value of id. final JsonField<Boolean>_deleted()Returns the raw JSON value of deleted. final Map<String, JsonValue>_additionalProperties()final ChatCompletionDeleted.BuildertoBuilder()final ChatCompletionDeletedvalidate()final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static ChatCompletionDeleted.Builderbuilder()Returns a mutable builder for constructing an instance of ChatCompletionDeleted. -
-
Method Detail
-
_object_
final JsonValue _object_()
The type of object being deleted.
Expected to always return the following:
JsonValue.from("chat.completion.deleted")However, this method can be useful for debugging and logging (e.g. if the server responded with an unexpected value).
-
_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.
-
_deleted
final JsonField<Boolean> _deleted()
Returns the raw JSON value of deleted.
Unlike deleted, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final ChatCompletionDeleted.Builder toBuilder()
-
validate
final ChatCompletionDeleted validate()
-
builder
final static ChatCompletionDeleted.Builder builder()
Returns a mutable builder for constructing an instance of ChatCompletionDeleted.
The following fields are required:
.id() .deleted()
-
-
-
-