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