Package com.openai.models.responses
Class Tool.ImageGeneration.InputImageMask
-
- All Implemented Interfaces:
public final class Tool.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 classTool.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 Tool.ImageGeneration.InputImageMask.BuildertoBuilder()final Tool.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 Tool.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 Tool.ImageGeneration.InputImageMask.Builder toBuilder()
-
validate
final Tool.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 Tool.ImageGeneration.InputImageMask.Builder builder()
Returns a mutable builder for constructing an instance of InputImageMask.
-
-
-
-