Class ChatCompletionDeleted
-
- All Implemented Interfaces:
public final class ChatCompletionDeleted
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final class
ChatCompletionDeleted.Builder
A builder for ChatCompletionDeleted.
-
Method Summary
Modifier and Type Method Description final String
id()
The ID of the chat completion that was deleted. final Boolean
deleted()
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.Builder
toBuilder()
final ChatCompletionDeleted
validate()
final Boolean
isValid()
Boolean
equals(Object other)
Integer
hashCode()
String
toString()
final static ChatCompletionDeleted.Builder
builder()
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()
-
-
-
-