Package com.braintrustdata.api.models
Class ChatCompletionContentPartImage
-
- All Implemented Interfaces:
public final class ChatCompletionContentPartImage
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classChatCompletionContentPartImage.BuilderA builder for ChatCompletionContentPartImage.
public final classChatCompletionContentPartImage.ImageUrlpublic final classChatCompletionContentPartImage.Type
-
Method Summary
Modifier and Type Method Description final ChatCompletionContentPartImage.ImageUrlimageUrl()final ChatCompletionContentPartImage.Typetype()final JsonField<ChatCompletionContentPartImage.ImageUrl>_imageUrl()Returns the raw JSON value of imageUrl. final JsonField<ChatCompletionContentPartImage.Type>_type()Returns the raw JSON value of type. final Map<String, JsonValue>_additionalProperties()final ChatCompletionContentPartImage.BuildertoBuilder()final ChatCompletionContentPartImagevalidate()final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static ChatCompletionContentPartImage.Builderbuilder()Returns a mutable builder for constructing an instance of ChatCompletionContentPartImage. -
-
Method Detail
-
imageUrl
final ChatCompletionContentPartImage.ImageUrl imageUrl()
-
type
final ChatCompletionContentPartImage.Type type()
-
_imageUrl
final JsonField<ChatCompletionContentPartImage.ImageUrl> _imageUrl()
Returns the raw JSON value of imageUrl.
Unlike imageUrl, this method doesn't throw if the JSON field has an unexpected type.
-
_type
final JsonField<ChatCompletionContentPartImage.Type> _type()
Returns the raw JSON value of type.
Unlike type, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final ChatCompletionContentPartImage.Builder toBuilder()
-
validate
final ChatCompletionContentPartImage validate()
-
builder
final static ChatCompletionContentPartImage.Builder builder()
Returns a mutable builder for constructing an instance of ChatCompletionContentPartImage.
The following fields are required:
.imageUrl() .type()
-
-
-
-