Package com.anthropic.models.messages
Class UrlImageSource
-
- All Implemented Interfaces:
public final class UrlImageSource
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classUrlImageSource.BuilderA builder for UrlImageSource.
-
Method Summary
Modifier and Type Method Description final JsonValue_type()Expected to always return the following:
However, this method can be useful for debugging and logging (e.g.JsonValue.from("url")final Stringurl()final JsonField<String>_url()Returns the raw JSON value of url. final Map<String, JsonValue>_additionalProperties()final UrlImageSource.BuildertoBuilder()final UrlImageSourcevalidate()final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static UrlImageSource.Builderbuilder()Returns a mutable builder for constructing an instance of UrlImageSource. -
-
Method Detail
-
_type
final JsonValue _type()
Expected to always return the following:
JsonValue.from("url")However, this method can be useful for debugging and logging (e.g. if the server responded with an unexpected value).
-
_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.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final UrlImageSource.Builder toBuilder()
-
validate
final UrlImageSource validate()
-
builder
final static UrlImageSource.Builder builder()
Returns a mutable builder for constructing an instance of UrlImageSource.
The following fields are required:
.url()
-
-
-
-