Skip to content

Commit 664849a

Browse files
committed
chore(assistant-v2): manual changes
1 parent 4ed4b49 commit 664849a

File tree

3 files changed

+36
-16
lines changed

3 files changed

+36
-16
lines changed

assistant/src/main/java/com/ibm/watson/assistant/v2/model/RuntimeResponseGeneric.java

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -82,9 +82,6 @@ public interface Preference {
8282
@SerializedName("agent_unavailable")
8383
protected AgentAvailabilityMessage agentUnavailable;
8484

85-
@SerializedName("transfer_info")
86-
protected DialogNodeOutputConnectToAgentTransferInfo transferInfo;
87-
8885
protected String topic;
8986
protected List<DialogSuggestion> suggestions;
9087

@@ -252,17 +249,6 @@ public AgentAvailabilityMessage agentUnavailable() {
252249
return agentUnavailable;
253250
}
254251

255-
/**
256-
* Gets the transferInfo.
257-
*
258-
* <p>Routing or other contextual information to be used by target service desk systems.
259-
*
260-
* @return the transferInfo
261-
*/
262-
public DialogNodeOutputConnectToAgentTransferInfo transferInfo() {
263-
return transferInfo;
264-
}
265-
266252
/**
267253
* Gets the topic.
268254
*

assistant/src/main/java/com/ibm/watson/assistant/v2/model/RuntimeResponseGenericRuntimeResponseTypeChannelTransfer.java

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,23 @@
1212
*/
1313
package com.ibm.watson.assistant.v2.model;
1414

15+
import com.google.gson.annotations.SerializedName;
16+
1517
/** RuntimeResponseGenericRuntimeResponseTypeChannelTransfer. */
1618
public class RuntimeResponseGenericRuntimeResponseTypeChannelTransfer
17-
extends RuntimeResponseGeneric {}
19+
extends RuntimeResponseGeneric {
20+
21+
@SerializedName("transfer_info")
22+
protected ChannelTransferInfo transferInfo;
23+
24+
/**
25+
* Gets the transferInfo.
26+
*
27+
* <p>Routing or other contextual information to be used by target service desk systems.
28+
*
29+
* @return the transferInfo
30+
*/
31+
public ChannelTransferInfo transferInfo() {
32+
return transferInfo;
33+
}
34+
}

assistant/src/main/java/com/ibm/watson/assistant/v2/model/RuntimeResponseGenericRuntimeResponseTypeConnectToAgent.java

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,23 @@
1212
*/
1313
package com.ibm.watson.assistant.v2.model;
1414

15+
import com.google.gson.annotations.SerializedName;
16+
1517
/** RuntimeResponseGenericRuntimeResponseTypeConnectToAgent. */
1618
public class RuntimeResponseGenericRuntimeResponseTypeConnectToAgent
17-
extends RuntimeResponseGeneric {}
19+
extends RuntimeResponseGeneric {
20+
21+
@SerializedName("transfer_info")
22+
protected DialogNodeOutputConnectToAgentTransferInfo transferInfo;
23+
24+
/**
25+
* Gets the transferInfo.
26+
*
27+
* <p>Routing or other contextual information to be used by target service desk systems.
28+
*
29+
* @return the transferInfo
30+
*/
31+
public DialogNodeOutputConnectToAgentTransferInfo transferInfo() {
32+
return transferInfo;
33+
}
34+
}

0 commit comments

Comments
 (0)