Package com.openai.models.beta.responses
Class BetaTool.ImageGeneration.InputImageMask
-
- All Implemented Interfaces:
public final class BetaTool.ImageGeneration.InputImageMaskOptional mask for inpainting. Contains
image_url(string, optional) andfile_id(string, optional).
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classBetaTool.ImageGeneration.InputImageMask.BuilderA builder for InputImageMask.
-
Method Summary
Modifier and Type Method Description final Optional<String>fileId()File ID for the mask image. final Optional<String>imageUrl()Base64-encoded mask image. final JsonField<String>_fileId()Returns the raw JSON value of fileId. final JsonField<String>_imageUrl()Returns the raw JSON value of imageUrl. final Map<String, JsonValue>_additionalProperties()final BetaTool.ImageGeneration.InputImageMask.BuildertoBuilder()final BetaTool.ImageGeneration.InputImageMaskvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static BetaTool.ImageGeneration.InputImageMask.Builderbuilder()Returns a mutable builder for constructing an instance of InputImageMask. -
-
Method Detail
-
_fileId
final JsonField<String> _fileId()
Returns the raw JSON value of fileId.
Unlike fileId, this method doesn't throw if the JSON field has an unexpected type.
-
_imageUrl
final JsonField<String> _imageUrl()
Returns the raw JSON value of imageUrl.
Unlike imageUrl, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final BetaTool.ImageGeneration.InputImageMask.Builder toBuilder()
-
validate
final BetaTool.ImageGeneration.InputImageMask 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 BetaTool.ImageGeneration.InputImageMask.Builder builder()
Returns a mutable builder for constructing an instance of InputImageMask.
-
-
-
-