Package com.anthropic.models.messages
Class ComputerZoomInput
-
- All Implemented Interfaces:
public final class ComputerZoomInputTake a screenshot of a rectangular region. Region coordinates are in the full-screenshot space (not physical display pixels). The crop is scaled up to fill the image budget so fine details become legible.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classComputerZoomInput.BuilderA builder for ComputerZoomInput.
-
Method Summary
Modifier and Type Method Description final List<Long>region()(x0, y0, x1, y1): The region to capture. final JsonField<List<Long>>_region()Returns the raw JSON value of region. final Map<String, JsonValue>_additionalProperties()final ComputerZoomInput.BuildertoBuilder()final ComputerZoomInputvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static ComputerZoomInput.Builderbuilder()Returns a mutable builder for constructing an instance of ComputerZoomInput. final static ComputerZoomInputof(List<Long> region)Returns an immutable instance of ComputerZoomInput with the required region set to the given value. -
-
Method Detail
-
_region
final JsonField<List<Long>> _region()
Returns the raw JSON value of region.
Unlike region, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final ComputerZoomInput.Builder toBuilder()
-
validate
final ComputerZoomInput 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 ComputerZoomInput.Builder builder()
Returns a mutable builder for constructing an instance of ComputerZoomInput.
The following fields are required:
.region()
-
of
final static ComputerZoomInput of(List<Long> region)
Returns an immutable instance of ComputerZoomInput with the required region set to the given value.
-
-
-
-