Package com.openai.models.responses
Class ResponseComputerToolCall.Action.Scroll
-
- All Implemented Interfaces:
public final class ResponseComputerToolCall.Action.Scroll
A scroll action.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final class
ResponseComputerToolCall.Action.Scroll.Builder
A builder for Scroll.
-
Method Summary
Modifier and Type Method Description final Long
scrollX()
The horizontal scroll distance. final Long
scrollY()
The vertical scroll distance. final JsonValue
_type()
Specifies the event type. final Long
x()
The x-coordinate where the scroll occurred. final Long
y()
The y-coordinate where the scroll occurred. final JsonField<Long>
_scrollX()
The horizontal scroll distance. final JsonField<Long>
_scrollY()
The vertical scroll distance. final JsonField<Long>
_x()
The x-coordinate where the scroll occurred. final JsonField<Long>
_y()
The y-coordinate where the scroll occurred. final Map<String, JsonValue>
_additionalProperties()
final ResponseComputerToolCall.Action.Scroll
validate()
final ResponseComputerToolCall.Action.Scroll.Builder
toBuilder()
Boolean
equals(Object other)
Integer
hashCode()
String
toString()
final static ResponseComputerToolCall.Action.Scroll.Builder
builder()
Returns a mutable builder for constructing an instance of Scroll. -
-
Method Detail
-
_type
final JsonValue _type()
Specifies the event type. For a scroll action, this property is always set to
scroll
.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
validate
final ResponseComputerToolCall.Action.Scroll validate()
-
toBuilder
final ResponseComputerToolCall.Action.Scroll.Builder toBuilder()
-
builder
final static ResponseComputerToolCall.Action.Scroll.Builder builder()
Returns a mutable builder for constructing an instance of Scroll.
The following fields are required:
.scrollX() .scrollY() .x() .y()
-
-
-
-