forked from github/copilot-sdk-java
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathSubagentStartedEvent.java
More file actions
81 lines (61 loc) · 2.08 KB
/
SubagentStartedEvent.java
File metadata and controls
81 lines (61 loc) · 2.08 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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
*--------------------------------------------------------------------------------------------*/
package com.github.copilot.sdk.events;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonProperty;
/**
* Event: subagent.started
*
* @since 1.0.0
*/
@JsonIgnoreProperties(ignoreUnknown = true)
public final class SubagentStartedEvent extends AbstractSessionEvent {
@JsonProperty("data")
private SubagentStartedData data;
@Override
public String getType() {
return "subagent.started";
}
public SubagentStartedData getData() {
return data;
}
public void setData(SubagentStartedData data) {
this.data = data;
}
@JsonIgnoreProperties(ignoreUnknown = true)
public static class SubagentStartedData {
@JsonProperty("toolCallId")
private String toolCallId;
@JsonProperty("agentName")
private String agentName;
@JsonProperty("agentDisplayName")
private String agentDisplayName;
@JsonProperty("agentDescription")
private String agentDescription;
public String getToolCallId() {
return toolCallId;
}
public void setToolCallId(String toolCallId) {
this.toolCallId = toolCallId;
}
public String getAgentName() {
return agentName;
}
public void setAgentName(String agentName) {
this.agentName = agentName;
}
public String getAgentDisplayName() {
return agentDisplayName;
}
public void setAgentDisplayName(String agentDisplayName) {
this.agentDisplayName = agentDisplayName;
}
public String getAgentDescription() {
return agentDescription;
}
public void setAgentDescription(String agentDescription) {
this.agentDescription = agentDescription;
}
}
}