forked from github/copilot-sdk
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCommandQueuedEvent.java
More file actions
44 lines (36 loc) · 1.65 KB
/
Copy pathCommandQueuedEvent.java
File metadata and controls
44 lines (36 loc) · 1.65 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
*--------------------------------------------------------------------------------------------*/
// AUTO-GENERATED FILE - DO NOT EDIT
// Generated from: session-events.schema.json
package com.github.copilot.generated;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import javax.annotation.processing.Generated;
/**
* Session event "command.queued". Queued slash command dispatch request for client execution
*
* @since 1.0.0
*/
@JsonIgnoreProperties(ignoreUnknown = true)
@JsonInclude(JsonInclude.Include.NON_NULL)
@javax.annotation.processing.Generated("copilot-sdk-codegen")
public final class CommandQueuedEvent extends SessionEvent {
@Override
public String getType() { return "command.queued"; }
@JsonProperty("data")
private CommandQueuedEventData data;
public CommandQueuedEventData getData() { return data; }
public void setData(CommandQueuedEventData data) { this.data = data; }
/** Data payload for {@link CommandQueuedEvent}. */
@JsonIgnoreProperties(ignoreUnknown = true)
@JsonInclude(JsonInclude.Include.NON_NULL)
public record CommandQueuedEventData(
/** Unique identifier for this request; used to respond via session.respondToQueuedCommand() */
@JsonProperty("requestId") String requestId,
/** The slash command text to be executed (e.g., /help, /clear) */
@JsonProperty("command") String command
) {
}
}