Class BetaManagedAgentsImageBlock
-
- All Implemented Interfaces:
public final class BetaManagedAgentsImageBlockImage content specified directly as base64 data or as a reference via a URL.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classBetaManagedAgentsImageBlock.BuilderA builder for BetaManagedAgentsImageBlock.
public final classBetaManagedAgentsImageBlock.SourceUnion type for image source variants.
public final classBetaManagedAgentsImageBlock.Type
-
Method Summary
Modifier and Type Method Description final BetaManagedAgentsImageBlock.Sourcesource()Union type for image source variants. final BetaManagedAgentsImageBlock.Typetype()final JsonField<BetaManagedAgentsImageBlock.Source>_source()Returns the raw JSON value of source. final JsonField<BetaManagedAgentsImageBlock.Type>_type()Returns the raw JSON value of type. final Map<String, JsonValue>_additionalProperties()final BetaManagedAgentsImageBlock.BuildertoBuilder()final BetaManagedAgentsImageBlockvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static BetaManagedAgentsImageBlock.Builderbuilder()Returns a mutable builder for constructing an instance of BetaManagedAgentsImageBlock. -
-
Method Detail
-
source
final BetaManagedAgentsImageBlock.Source source()
Union type for image source variants.
-
type
final BetaManagedAgentsImageBlock.Type type()
-
_source
final JsonField<BetaManagedAgentsImageBlock.Source> _source()
Returns the raw JSON value of source.
Unlike source, this method doesn't throw if the JSON field has an unexpected type.
-
_type
final JsonField<BetaManagedAgentsImageBlock.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 BetaManagedAgentsImageBlock.Builder toBuilder()
-
validate
final BetaManagedAgentsImageBlock 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 BetaManagedAgentsImageBlock.Builder builder()
Returns a mutable builder for constructing an instance of BetaManagedAgentsImageBlock.
The following fields are required:
.source() .type()
-
-
-
-