Class SessionScheduleApi
java.lang.Object
com.github.copilot.generated.rpc.SessionScheduleApi
API methods for the
schedule namespace.- Since:
- 1.0.0
-
Method Summary
Modifier and TypeMethodDescriptionadd(SessionScheduleAddParams params) Register a relative-interval scheduled prompt.addAt(SessionScheduleAddAtParams params) Register an absolute-time scheduled prompt.addCron(SessionScheduleAddCronParams params) Register a cron scheduled prompt.Register a self-paced scheduled prompt.Identifies the target session.hydrate()Identifies the target session.list()Identifies the target session.Re-arm a self-paced scheduled prompt.stop(SessionScheduleStopParams params) Identifier of the scheduled prompt to remove.
-
Method Details
-
list
Identifies the target session.- Since:
- 1.0.0
-
hydrate
Identifies the target session.- Since:
- 1.0.0
-
hasSelfPaced
Identifies the target session.- Since:
- 1.0.0
-
add
@CopilotExperimental public CompletableFuture<SessionScheduleAddResult> add(SessionScheduleAddParams params) Register a relative-interval scheduled prompt.Note: the
sessionIdfield in the params record is overridden by the session-scoped wrapper; any value provided is ignored.- Since:
- 1.0.0
-
addCron
@CopilotExperimental public CompletableFuture<SessionScheduleAddCronResult> addCron(SessionScheduleAddCronParams params) Register a cron scheduled prompt.Note: the
sessionIdfield in the params record is overridden by the session-scoped wrapper; any value provided is ignored.- Since:
- 1.0.0
-
addAt
@CopilotExperimental public CompletableFuture<SessionScheduleAddAtResult> addAt(SessionScheduleAddAtParams params) Register an absolute-time scheduled prompt.Note: the
sessionIdfield in the params record is overridden by the session-scoped wrapper; any value provided is ignored.- Since:
- 1.0.0
-
addSelfPaced
@CopilotExperimental public CompletableFuture<SessionScheduleAddSelfPacedResult> addSelfPaced(SessionScheduleAddSelfPacedParams params) Register a self-paced scheduled prompt.Note: the
sessionIdfield in the params record is overridden by the session-scoped wrapper; any value provided is ignored.- Since:
- 1.0.0
-
rearmSelfPaced
@CopilotExperimental public CompletableFuture<SessionScheduleRearmSelfPacedResult> rearmSelfPaced(SessionScheduleRearmSelfPacedParams params) Re-arm a self-paced scheduled prompt.Note: the
sessionIdfield in the params record is overridden by the session-scoped wrapper; any value provided is ignored.- Since:
- 1.0.0
-
stop
@CopilotExperimental public CompletableFuture<SessionScheduleStopResult> stop(SessionScheduleStopParams params) Identifier of the scheduled prompt to remove.Note: the
sessionIdfield in the params record is overridden by the session-scoped wrapper; any value provided is ignored.- Since:
- 1.0.0
-