Skip to content

Commit 2608be0

Browse files
jeff-arnapaparazzi0329
authored andcommitted
chore(hand edits): apply assistantv2 hand edits
1 parent 60df916 commit 2608be0

14 files changed

+138
-227
lines changed

assistant/src/main/java/com/ibm/watson/assistant/v2/Assistant.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@
8080
public class Assistant extends BaseService {
8181

8282
/** Default service name used when configuring the `Assistant` client. */
83-
public static final String DEFAULT_SERVICE_NAME = "conversation";
83+
public static final String DEFAULT_SERVICE_NAME = "assistant";
8484

8585
/** Default service endpoint URL. */
8686
public static final String DEFAULT_SERVICE_URL =

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

Lines changed: 0 additions & 192 deletions
This file was deleted.

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

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,6 @@ public interface Reason {
8181
}
8282

8383
protected String event;
84-
protected TurnEventActionSource source;
8584

8685
@SerializedName("action_start_time")
8786
protected String actionStartTime;
@@ -102,7 +101,6 @@ public interface Reason {
102101

103102
protected Boolean prompted;
104103
protected TurnEventCalloutCallout callout;
105-
protected TurnEventCalloutError error;
106104

107105
protected MessageOutputDebugTurnEvent() {}
108106

@@ -117,15 +115,6 @@ public String getEvent() {
117115
return event;
118116
}
119117

120-
/**
121-
* Gets the source.
122-
*
123-
* @return the source
124-
*/
125-
public TurnEventActionSource getSource() {
126-
return source;
127-
}
128-
129118
/**
130119
* Gets the actionStartTime.
131120
*
@@ -213,13 +202,4 @@ public Boolean isPrompted() {
213202
public TurnEventCalloutCallout getCallout() {
214203
return callout;
215204
}
216-
217-
/**
218-
* Gets the error.
219-
*
220-
* @return the error
221-
*/
222-
public TurnEventCalloutError getError() {
223-
return error;
224-
}
225205
}

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

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,5 +42,16 @@ public interface Reason {
4242
String FALLBACK = "fallback";
4343
}
4444

45+
protected TurnEventActionSource source;
46+
4547
protected MessageOutputDebugTurnEventTurnEventActionFinished() {}
48+
49+
/**
50+
* Gets the source.
51+
*
52+
* @return the source
53+
*/
54+
public TurnEventActionSource getSource() {
55+
return source;
56+
}
4657
}

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

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,5 +47,16 @@ public interface Reason {
4747
String NO_ACTION_MATCHES = "no_action_matches";
4848
}
4949

50+
protected TurnEventActionSource source;
51+
5052
protected MessageOutputDebugTurnEventTurnEventActionVisited() {}
53+
54+
/**
55+
* Gets the source.
56+
*
57+
* @return the source
58+
*/
59+
public TurnEventActionSource getSource() {
60+
return source;
61+
}
5162
}

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

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,5 +15,26 @@
1515
/** MessageOutputDebugTurnEventTurnEventCallout. */
1616
public class MessageOutputDebugTurnEventTurnEventCallout extends MessageOutputDebugTurnEvent {
1717

18+
protected TurnEventActionSource source;
19+
protected TurnEventCalloutError error;
20+
1821
protected MessageOutputDebugTurnEventTurnEventCallout() {}
22+
23+
/**
24+
* Gets the source.
25+
*
26+
* @return the source
27+
*/
28+
public TurnEventActionSource getSource() {
29+
return source;
30+
}
31+
32+
/**
33+
* Gets the error.
34+
*
35+
* @return the error
36+
*/
37+
public TurnEventCalloutError getError() {
38+
return error;
39+
}
1940
}

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

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,5 +16,16 @@
1616
public class MessageOutputDebugTurnEventTurnEventHandlerVisited
1717
extends MessageOutputDebugTurnEvent {
1818

19+
protected TurnEventActionSource source;
20+
1921
protected MessageOutputDebugTurnEventTurnEventHandlerVisited() {}
22+
23+
/**
24+
* Gets the source.
25+
*
26+
* @return the source
27+
*/
28+
public TurnEventActionSource getSource() {
29+
return source;
30+
}
2031
}

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

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,5 +31,16 @@ public interface Reason {
3131
String JUMP = "jump";
3232
}
3333

34+
protected TurnEventNodeSource source;
35+
3436
protected MessageOutputDebugTurnEventTurnEventNodeVisited() {}
37+
38+
/**
39+
* Gets the source.
40+
*
41+
* @return the source
42+
*/
43+
public TurnEventNodeSource getSource() {
44+
return source;
45+
}
3546
}

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

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,5 +15,26 @@
1515
/** MessageOutputDebugTurnEventTurnEventSearch. */
1616
public class MessageOutputDebugTurnEventTurnEventSearch extends MessageOutputDebugTurnEvent {
1717

18+
protected TurnEventActionSource source;
19+
protected TurnEventSearchError error;
20+
1821
protected MessageOutputDebugTurnEventTurnEventSearch() {}
22+
23+
/**
24+
* Gets the source.
25+
*
26+
* @return the source
27+
*/
28+
public TurnEventActionSource getSource() {
29+
return source;
30+
}
31+
32+
/**
33+
* Gets the error.
34+
*
35+
* @return the error
36+
*/
37+
public TurnEventSearchError getError() {
38+
return error;
39+
}
1940
}

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

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,5 +25,16 @@ public interface ConditionType {
2525
String ANYTHING_ELSE = "anything_else";
2626
}
2727

28+
protected TurnEventActionSource source;
29+
2830
protected MessageOutputDebugTurnEventTurnEventStepAnswered() {}
31+
32+
/**
33+
* Gets the source.
34+
*
35+
* @return the source
36+
*/
37+
public TurnEventActionSource getSource() {
38+
return source;
39+
}
2940
}

0 commit comments

Comments
 (0)