Class BetaBase64ImageSource
-
- All Implemented Interfaces:
public final class BetaBase64ImageSource
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classBetaBase64ImageSource.BuilderA builder for BetaBase64ImageSource.
public final classBetaBase64ImageSource.MediaType
-
Method Summary
Modifier and Type Method Description final Stringdata()final BetaBase64ImageSource.MediaTypemediaType()final JsonValue_type()Expected to always return the following:
However, this method can be useful for debugging and logging (e.g.JsonValue.from("base64")final JsonField<String>_data()Returns the raw JSON value of data. final JsonField<BetaBase64ImageSource.MediaType>_mediaType()Returns the raw JSON value of mediaType. final Map<String, JsonValue>_additionalProperties()final BetaBase64ImageSource.BuildertoBuilder()final BetaBase64ImageSourcevalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static BetaBase64ImageSource.Builderbuilder()Returns a mutable builder for constructing an instance of BetaBase64ImageSource. -
-
Method Detail
-
mediaType
final BetaBase64ImageSource.MediaType mediaType()
-
_type
final JsonValue _type()
Expected to always return the following:
JsonValue.from("base64")However, this method can be useful for debugging and logging (e.g. if the server responded with an unexpected value).
-
_data
final JsonField<String> _data()
Returns the raw JSON value of data.
Unlike data, this method doesn't throw if the JSON field has an unexpected type.
-
_mediaType
final JsonField<BetaBase64ImageSource.MediaType> _mediaType()
Returns the raw JSON value of mediaType.
Unlike mediaType, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final BetaBase64ImageSource.Builder toBuilder()
-
validate
final BetaBase64ImageSource validate()
Validates that the types of all values in this object match their expected types recursively.
This method is not forwards compatible with new types from the API for existing fields.
-
builder
final static BetaBase64ImageSource.Builder builder()
Returns a mutable builder for constructing an instance of BetaBase64ImageSource.
The following fields are required:
.data() .mediaType()
-
-
-
-