Class BetaImageBlockParam
-
- All Implemented Interfaces:
public final class BetaImageBlockParam
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classBetaImageBlockParam.BuilderA builder for BetaImageBlockParam.
public final classBetaImageBlockParam.Source
-
Method Summary
Modifier and Type Method Description final BetaImageBlockParam.Sourcesource()final JsonValue_type()Expected to always return the following:
However, this method can be useful for debugging and logging (e.g.JsonValue.from("image")final Optional<BetaCacheControlEphemeral>cacheControl()Create a cache control breakpoint at this content block. final JsonField<BetaImageBlockParam.Source>_source()Returns the raw JSON value of source. final JsonField<BetaCacheControlEphemeral>_cacheControl()Returns the raw JSON value of cacheControl. final Map<String, JsonValue>_additionalProperties()final BetaImageBlockParam.BuildertoBuilder()final BetaImageBlockParamvalidate()final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static BetaImageBlockParam.Builderbuilder()Returns a mutable builder for constructing an instance of BetaImageBlockParam. -
-
Method Detail
-
source
final BetaImageBlockParam.Source source()
-
_type
final JsonValue _type()
Expected to always return the following:
JsonValue.from("image")However, this method can be useful for debugging and logging (e.g. if the server responded with an unexpected value).
-
cacheControl
final Optional<BetaCacheControlEphemeral> cacheControl()
Create a cache control breakpoint at this content block.
-
_source
final JsonField<BetaImageBlockParam.Source> _source()
Returns the raw JSON value of source.
Unlike source, this method doesn't throw if the JSON field has an unexpected type.
-
_cacheControl
final JsonField<BetaCacheControlEphemeral> _cacheControl()
Returns the raw JSON value of cacheControl.
Unlike cacheControl, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final BetaImageBlockParam.Builder toBuilder()
-
validate
final BetaImageBlockParam validate()
-
builder
final static BetaImageBlockParam.Builder builder()
Returns a mutable builder for constructing an instance of BetaImageBlockParam.
The following fields are required:
.source()
-
-
-
-