Package com.openai.models.responses
Class ComputerAction.Drag.Path
-
- All Implemented Interfaces:
public final class ComputerAction.Drag.PathAn x/y coordinate pair, e.g.
{ x: 100, y: 200 }.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classComputerAction.Drag.Path.BuilderA builder for Path.
-
Method Summary
Modifier and Type Method Description final Longx()The x-coordinate. final Longy()The y-coordinate. final JsonField<Long>_x()Returns the raw JSON value of x. final JsonField<Long>_y()Returns the raw JSON value of y. final Map<String, JsonValue>_additionalProperties()final ComputerAction.Drag.Path.BuildertoBuilder()final ComputerAction.Drag.Pathvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static ComputerAction.Drag.Path.Builderbuilder()Returns a mutable builder for constructing an instance of Path. -
-
Method Detail
-
_x
final JsonField<Long> _x()
Returns the raw JSON value of x.
Unlike x, this method doesn't throw if the JSON field has an unexpected type.
-
_y
final JsonField<Long> _y()
Returns the raw JSON value of y.
Unlike y, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final ComputerAction.Drag.Path.Builder toBuilder()
-
validate
final ComputerAction.Drag.Path 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 ComputerAction.Drag.Path.Builder builder()
Returns a mutable builder for constructing an instance of Path.
The following fields are required:
.x() .y()
-
-
-
-