diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml
index 405f9027379..cafc11429da 100644
--- a/.github/workflows/deploy.yml
+++ b/.github/workflows/deploy.yml
@@ -85,7 +85,7 @@ jobs:
- name: Publish to Maven Central
env:
- GHA_TAG: "refs/tags/v14.0.1" # for setMavenVersion_gha
+ GHA_TAG: "refs/tags/v14.0.2" # for setMavenVersion_gha
OSSRH_USERNAME: ${{ secrets.OSSRH_USERNAME }} # for .travis.settings.xml
OSSRH_PASSWORD: ${{ secrets.OSSRH_PASSWORD }}
GPG_KEYNAME: ${{ secrets.SIGNING_KEY }}
@@ -109,7 +109,7 @@ jobs:
GHA_BUILD_NUMBER: ${{ github.run_number }}
GHA_JOB_NUMBER: ${{ github.job_number }}
GHA_COMMIT: ${{ github.sha }}
- GHA_TAG: "refs/tags/v14.0.1" # for setMavenVersion_gha
+ GHA_TAG: "refs/tags/v14.0.2" # for setMavenVersion_gha
run: |
build/setMavenVersion_gha.sh
mvn clean javadoc:aggregate $MVN_ARGS
diff --git a/assistant/src/main/java/com/ibm/watson/assistant/v2/model/ClientAction.java b/assistant/src/main/java/com/ibm/watson/assistant/v2/model/ClientAction.java
new file mode 100644
index 00000000000..7cc15720f46
--- /dev/null
+++ b/assistant/src/main/java/com/ibm/watson/assistant/v2/model/ClientAction.java
@@ -0,0 +1,89 @@
+/*
+ * (C) Copyright IBM Corp. 2025.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on
+ * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+
+package com.ibm.watson.assistant.v2.model;
+
+import com.google.gson.annotations.SerializedName;
+import com.ibm.cloud.sdk.core.service.model.GenericModel;
+
+/** ClientAction. */
+public class ClientAction extends GenericModel {
+
+ /** The skill that is requesting the action. Included only if **type**=`client`. */
+ public interface Skill {
+ /** main skill. */
+ String MAIN_SKILL = "main skill";
+ /** actions skill. */
+ String ACTIONS_SKILL = "actions skill";
+ }
+
+ protected String name;
+
+ @SerializedName("result_variable")
+ protected String resultVariable;
+
+ protected String type;
+ protected String skill;
+ protected ClientActionParameters parameters;
+
+ protected ClientAction() {}
+
+ /**
+ * Gets the name.
+ *
+ *
The name of the client action.
+ *
+ * @return the name
+ */
+ public String getName() {
+ return name;
+ }
+
+ /**
+ * Gets the resultVariable.
+ *
+ * @return the resultVariable
+ */
+ public String getResultVariable() {
+ return resultVariable;
+ }
+
+ /**
+ * Gets the type.
+ *
+ * @return the type
+ */
+ public String getType() {
+ return type;
+ }
+
+ /**
+ * Gets the skill.
+ *
+ *
The skill that is requesting the action. Included only if **type**=`client`.
+ *
+ * @return the skill
+ */
+ public String getSkill() {
+ return skill;
+ }
+
+ /**
+ * Gets the parameters.
+ *
+ * @return the parameters
+ */
+ public ClientActionParameters getParameters() {
+ return parameters;
+ }
+}
diff --git a/assistant/src/main/java/com/ibm/watson/assistant/v2/model/ClientActionParameters.java b/assistant/src/main/java/com/ibm/watson/assistant/v2/model/ClientActionParameters.java
new file mode 100644
index 00000000000..26d01270d8b
--- /dev/null
+++ b/assistant/src/main/java/com/ibm/watson/assistant/v2/model/ClientActionParameters.java
@@ -0,0 +1,56 @@
+/*
+ * (C) Copyright IBM Corp. 2025.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on
+ * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+
+package com.ibm.watson.assistant.v2.model;
+
+import com.google.gson.annotations.SerializedName;
+import com.ibm.cloud.sdk.core.service.model.GenericModel;
+
+/** ClientActionParameters. */
+public class ClientActionParameters extends GenericModel {
+
+ @SerializedName("account_id")
+ protected String accountId;
+
+ protected String hash;
+ protected String alias;
+
+ protected ClientActionParameters() {}
+
+ /**
+ * Gets the accountId.
+ *
+ * @return the accountId
+ */
+ public String getAccountId() {
+ return accountId;
+ }
+
+ /**
+ * Gets the hash.
+ *
+ * @return the hash
+ */
+ public String getHash() {
+ return hash;
+ }
+
+ /**
+ * Gets the alias.
+ *
+ * @return the alias
+ */
+ public String getAlias() {
+ return alias;
+ }
+}
diff --git a/assistant/src/main/java/com/ibm/watson/assistant/v2/model/MessageOutputDebugTurnEvent.java b/assistant/src/main/java/com/ibm/watson/assistant/v2/model/MessageOutputDebugTurnEvent.java
index e79f14db2de..be13a89f0e1 100644
--- a/assistant/src/main/java/com/ibm/watson/assistant/v2/model/MessageOutputDebugTurnEvent.java
+++ b/assistant/src/main/java/com/ibm/watson/assistant/v2/model/MessageOutputDebugTurnEvent.java
@@ -15,6 +15,7 @@
import com.google.gson.annotations.SerializedName;
import com.ibm.cloud.sdk.core.service.model.GenericModel;
+import java.util.List;
import java.util.Map;
/**
@@ -25,7 +26,13 @@
* MessageOutputDebugTurnEventTurnEventStepVisited -
* MessageOutputDebugTurnEventTurnEventStepAnswered -
* MessageOutputDebugTurnEventTurnEventHandlerVisited - MessageOutputDebugTurnEventTurnEventCallout
- * - MessageOutputDebugTurnEventTurnEventSearch - MessageOutputDebugTurnEventTurnEventNodeVisited
+ * - MessageOutputDebugTurnEventTurnEventSearch - MessageOutputDebugTurnEventTurnEventNodeVisited -
+ * MessageOutputDebugTurnEventTurnEventConversationalSearchEnd -
+ * MessageOutputDebugTurnEventTurnEventManualRoute -
+ * MessageOutputDebugTurnEventTurnEventTopicSwitchDenied -
+ * MessageOutputDebugTurnEventTurnEventActionRoutingDenied -
+ * MessageOutputDebugTurnEventTurnEventSuggestionIntentsDenied -
+ * MessageOutputDebugTurnEventTurnEventClientActions
*/
public class MessageOutputDebugTurnEvent extends GenericModel {
@SuppressWarnings("unused")
@@ -47,7 +54,19 @@ public class MessageOutputDebugTurnEvent extends GenericModel {
discriminatorMapping.put("callout", MessageOutputDebugTurnEventTurnEventCallout.class);
discriminatorMapping.put("search", MessageOutputDebugTurnEventTurnEventSearch.class);
discriminatorMapping.put("node_visited", MessageOutputDebugTurnEventTurnEventNodeVisited.class);
- discriminatorMapping.put("conversational_search_end", MessageOutputDebugTurnEventTurnEventConversationalSearchEnd.class);
+ discriminatorMapping.put(
+ "conversational_search_end",
+ MessageOutputDebugTurnEventTurnEventConversationalSearchEnd.class);
+ discriminatorMapping.put("manual_route", MessageOutputDebugTurnEventTurnEventManualRoute.class);
+ discriminatorMapping.put(
+ "topic_switch_denied", MessageOutputDebugTurnEventTurnEventTopicSwitchDenied.class);
+ discriminatorMapping.put(
+ "action_routing_denied", MessageOutputDebugTurnEventTurnEventActionRoutingDenied.class);
+ discriminatorMapping.put(
+ "suggestion_intents_denied",
+ MessageOutputDebugTurnEventTurnEventSuggestionIntentsDenied.class);
+ discriminatorMapping.put(
+ "client_actions", MessageOutputDebugTurnEventTurnEventClientActions.class);
}
/** The type of condition (if any) that is defined for the action. */
public interface ConditionType {
@@ -102,6 +121,14 @@ public interface Reason {
protected Boolean prompted;
protected TurnEventCalloutCallout callout;
+ @SerializedName("route_name")
+ protected String routeName;
+
+ @SerializedName("intents_denied")
+ protected List intentsDenied;
+
+ @SerializedName("client_actions")
+ protected List clientActions;
protected MessageOutputDebugTurnEvent() {}
@@ -203,4 +230,37 @@ public Boolean isPrompted() {
public TurnEventCalloutCallout getCallout() {
return callout;
}
+
+ /**
+ * Gets the routeName.
+ *
+ * The name of the route.
+ *
+ * @return the routeName
+ */
+ public String getRouteName() {
+ return routeName;
+ }
+
+ /**
+ * Gets the intentsDenied.
+ *
+ *
An array of denied intents.
+ *
+ * @return the intentsDenied
+ */
+ public List getIntentsDenied() {
+ return intentsDenied;
+ }
+
+ /**
+ * Gets the clientActions.
+ *
+ * An array of client actions.
+ *
+ * @return the clientActions
+ */
+ public List getClientActions() {
+ return clientActions;
+ }
}
diff --git a/assistant/src/main/java/com/ibm/watson/assistant/v2/model/MessageOutputDebugTurnEventTurnEventActionRoutingDenied.java b/assistant/src/main/java/com/ibm/watson/assistant/v2/model/MessageOutputDebugTurnEventTurnEventActionRoutingDenied.java
new file mode 100644
index 00000000000..df58e6350b8
--- /dev/null
+++ b/assistant/src/main/java/com/ibm/watson/assistant/v2/model/MessageOutputDebugTurnEventTurnEventActionRoutingDenied.java
@@ -0,0 +1,48 @@
+/*
+ * (C) Copyright IBM Corp. 2025.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on
+ * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+
+package com.ibm.watson.assistant.v2.model;
+
+/** MessageOutputDebugTurnEventTurnEventActionRoutingDenied. */
+public class MessageOutputDebugTurnEventTurnEventActionRoutingDenied
+ extends MessageOutputDebugTurnEvent {
+
+ /** The type of condition (if any) that is defined for the action. */
+ public interface ConditionType {
+ /** user_defined. */
+ String USER_DEFINED = "user_defined";
+ /** welcome. */
+ String WELCOME = "welcome";
+ /** anything_else. */
+ String ANYTHING_ELSE = "anything_else";
+ }
+
+ /** The reason the action was visited. */
+ public interface Reason {
+ /** action_conditions_failed. */
+ String ACTION_CONDITIONS_FAILED = "action_conditions_failed";
+ }
+
+ protected TurnEventActionSource source;
+
+ protected MessageOutputDebugTurnEventTurnEventActionRoutingDenied() {}
+
+ /**
+ * Gets the source.
+ *
+ * @return the source
+ */
+ public TurnEventActionSource getSource() {
+ return source;
+ }
+}
diff --git a/assistant/src/main/java/com/ibm/watson/assistant/v2/model/MessageOutputDebugTurnEventTurnEventClientActions.java b/assistant/src/main/java/com/ibm/watson/assistant/v2/model/MessageOutputDebugTurnEventTurnEventClientActions.java
new file mode 100644
index 00000000000..7432c84b9a2
--- /dev/null
+++ b/assistant/src/main/java/com/ibm/watson/assistant/v2/model/MessageOutputDebugTurnEventTurnEventClientActions.java
@@ -0,0 +1,31 @@
+/*
+ * (C) Copyright IBM Corp. 2025.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on
+ * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+
+package com.ibm.watson.assistant.v2.model;
+
+/** MessageOutputDebugTurnEventTurnEventClientActions. */
+public class MessageOutputDebugTurnEventTurnEventClientActions extends MessageOutputDebugTurnEvent {
+
+ protected TurnEventStepSource source;
+
+ protected MessageOutputDebugTurnEventTurnEventClientActions() {}
+
+ /**
+ * Gets the source.
+ *
+ * @return the source
+ */
+ public TurnEventStepSource getSource() {
+ return source;
+ }
+}
diff --git a/assistant/src/main/java/com/ibm/watson/assistant/v2/model/MessageOutputDebugTurnEventTurnEventConversationalSearchEnd.java b/assistant/src/main/java/com/ibm/watson/assistant/v2/model/MessageOutputDebugTurnEventTurnEventConversationalSearchEnd.java
index 6ae60e14193..3841b581a19 100644
--- a/assistant/src/main/java/com/ibm/watson/assistant/v2/model/MessageOutputDebugTurnEventTurnEventConversationalSearchEnd.java
+++ b/assistant/src/main/java/com/ibm/watson/assistant/v2/model/MessageOutputDebugTurnEventTurnEventConversationalSearchEnd.java
@@ -11,24 +11,25 @@
* specific language governing permissions and limitations under the License.
*/
- package com.ibm.watson.assistant.v2.model;
+package com.ibm.watson.assistant.v2.model;
- /** MessageOutputDebugTurnEventTurnEventActionVisited. */
- public class MessageOutputDebugTurnEventTurnEventConversationalSearchEnd extends MessageOutputDebugTurnEvent {
-
- /** The type of condition (if any) that is defined for the action. */
- public interface ConditionType {
- /** user_defined. */
- String USER_DEFINED = "user_defined";
- /** welcome. */
- String WELCOME = "welcome";
- /** anything_else. */
- String ANYTHING_ELSE = "anything_else";
- }
-
- protected TurnEventActionSource source;
+/** MessageOutputDebugTurnEventTurnEventConversationalSearchEnd. */
+public class MessageOutputDebugTurnEventTurnEventConversationalSearchEnd
+ extends MessageOutputDebugTurnEvent {
+
+ /** The type of condition (if any) that is defined for the action. */
+ public interface ConditionType {
+ /** user_defined. */
+ String USER_DEFINED = "user_defined";
+ /** welcome. */
+ String WELCOME = "welcome";
+ /** anything_else. */
+ String ANYTHING_ELSE = "anything_else";
+ }
- protected MessageOutputDebugTurnEventTurnEventConversationalSearchEnd() {}
+ protected TurnEventActionSource source;
+
+ protected MessageOutputDebugTurnEventTurnEventConversationalSearchEnd() {}
/**
* Gets the source.
@@ -38,5 +39,4 @@ protected MessageOutputDebugTurnEventTurnEventConversationalSearchEnd() {}
public TurnEventActionSource getSource() {
return source;
}
- }
-
\ No newline at end of file
+}
diff --git a/assistant/src/main/java/com/ibm/watson/assistant/v2/model/MessageOutputDebugTurnEventTurnEventManualRoute.java b/assistant/src/main/java/com/ibm/watson/assistant/v2/model/MessageOutputDebugTurnEventTurnEventManualRoute.java
new file mode 100644
index 00000000000..ec139078b2e
--- /dev/null
+++ b/assistant/src/main/java/com/ibm/watson/assistant/v2/model/MessageOutputDebugTurnEventTurnEventManualRoute.java
@@ -0,0 +1,41 @@
+/*
+ * (C) Copyright IBM Corp. 2025.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on
+ * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+
+package com.ibm.watson.assistant.v2.model;
+
+/** MessageOutputDebugTurnEventTurnEventManualRoute. */
+public class MessageOutputDebugTurnEventTurnEventManualRoute extends MessageOutputDebugTurnEvent {
+
+ /** The type of condition (if any) that is defined for the action. */
+ public interface ConditionType {
+ /** user_defined. */
+ String USER_DEFINED = "user_defined";
+ /** welcome. */
+ String WELCOME = "welcome";
+ /** anything_else. */
+ String ANYTHING_ELSE = "anything_else";
+ }
+
+ protected TurnEventStepSource source;
+
+ protected MessageOutputDebugTurnEventTurnEventManualRoute() {}
+
+ /**
+ * Gets the source.
+ *
+ * @return the source
+ */
+ public TurnEventStepSource getSource() {
+ return source;
+ }
+}
diff --git a/assistant/src/main/java/com/ibm/watson/assistant/v2/model/MessageOutputDebugTurnEventTurnEventSuggestionIntentsDenied.java b/assistant/src/main/java/com/ibm/watson/assistant/v2/model/MessageOutputDebugTurnEventTurnEventSuggestionIntentsDenied.java
new file mode 100644
index 00000000000..3f6b9753dab
--- /dev/null
+++ b/assistant/src/main/java/com/ibm/watson/assistant/v2/model/MessageOutputDebugTurnEventTurnEventSuggestionIntentsDenied.java
@@ -0,0 +1,21 @@
+/*
+ * (C) Copyright IBM Corp. 2025.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on
+ * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+
+package com.ibm.watson.assistant.v2.model;
+
+/** MessageOutputDebugTurnEventTurnEventSuggestionIntentsDenied. */
+public class MessageOutputDebugTurnEventTurnEventSuggestionIntentsDenied
+ extends MessageOutputDebugTurnEvent {
+
+ protected MessageOutputDebugTurnEventTurnEventSuggestionIntentsDenied() {}
+}
diff --git a/assistant/src/main/java/com/ibm/watson/assistant/v2/model/MessageOutputDebugTurnEventTurnEventTopicSwitchDenied.java b/assistant/src/main/java/com/ibm/watson/assistant/v2/model/MessageOutputDebugTurnEventTurnEventTopicSwitchDenied.java
new file mode 100644
index 00000000000..813d028a09a
--- /dev/null
+++ b/assistant/src/main/java/com/ibm/watson/assistant/v2/model/MessageOutputDebugTurnEventTurnEventTopicSwitchDenied.java
@@ -0,0 +1,48 @@
+/*
+ * (C) Copyright IBM Corp. 2025.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on
+ * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+
+package com.ibm.watson.assistant.v2.model;
+
+/** MessageOutputDebugTurnEventTurnEventTopicSwitchDenied. */
+public class MessageOutputDebugTurnEventTurnEventTopicSwitchDenied
+ extends MessageOutputDebugTurnEvent {
+
+ /** The type of condition (if any) that is defined for the action. */
+ public interface ConditionType {
+ /** user_defined. */
+ String USER_DEFINED = "user_defined";
+ /** welcome. */
+ String WELCOME = "welcome";
+ /** anything_else. */
+ String ANYTHING_ELSE = "anything_else";
+ }
+
+ /** The reason the action was visited. */
+ public interface Reason {
+ /** action_conditions_failed. */
+ String ACTION_CONDITIONS_FAILED = "action_conditions_failed";
+ }
+
+ protected TurnEventActionSource source;
+
+ protected MessageOutputDebugTurnEventTurnEventTopicSwitchDenied() {}
+
+ /**
+ * Gets the source.
+ *
+ * @return the source
+ */
+ public TurnEventActionSource getSource() {
+ return source;
+ }
+}
diff --git a/assistant/src/main/java/com/ibm/watson/assistant/v2/model/ResponseGenericCitation.java b/assistant/src/main/java/com/ibm/watson/assistant/v2/model/ResponseGenericCitation.java
new file mode 100644
index 00000000000..766852067a1
--- /dev/null
+++ b/assistant/src/main/java/com/ibm/watson/assistant/v2/model/ResponseGenericCitation.java
@@ -0,0 +1,89 @@
+/*
+ * (C) Copyright IBM Corp. 2025.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on
+ * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+
+package com.ibm.watson.assistant.v2.model;
+
+import com.google.gson.annotations.SerializedName;
+import com.ibm.cloud.sdk.core.service.model.GenericModel;
+import java.util.List;
+
+/** ResponseGenericCitation. */
+public class ResponseGenericCitation extends GenericModel {
+
+ protected String title;
+ protected String text;
+ protected String body;
+
+ @SerializedName("search_result_index")
+ protected Long searchResultIndex;
+
+ protected List ranges;
+
+ protected ResponseGenericCitation() {}
+
+ /**
+ * Gets the title.
+ *
+ * The title of the citation text.
+ *
+ * @return the title
+ */
+ public String getTitle() {
+ return title;
+ }
+
+ /**
+ * Gets the text.
+ *
+ *
The text of the citation.
+ *
+ * @return the text
+ */
+ public String getText() {
+ return text;
+ }
+
+ /**
+ * Gets the body.
+ *
+ *
The body content of the citation.
+ *
+ * @return the body
+ */
+ public String getBody() {
+ return body;
+ }
+
+ /**
+ * Gets the searchResultIndex.
+ *
+ *
The index of the search_result where the citation is generated.
+ *
+ * @return the searchResultIndex
+ */
+ public Long getSearchResultIndex() {
+ return searchResultIndex;
+ }
+
+ /**
+ * Gets the ranges.
+ *
+ *
The offsets of the start and end of the citation in the generated response. For example,
+ * `ranges:[ { start:0, end:5 }, ...]`.
+ *
+ * @return the ranges
+ */
+ public List getRanges() {
+ return ranges;
+ }
+}
diff --git a/assistant/src/main/java/com/ibm/watson/assistant/v2/model/ResponseGenericCitationRangesItem.java b/assistant/src/main/java/com/ibm/watson/assistant/v2/model/ResponseGenericCitationRangesItem.java
new file mode 100644
index 00000000000..1e0cd874afe
--- /dev/null
+++ b/assistant/src/main/java/com/ibm/watson/assistant/v2/model/ResponseGenericCitationRangesItem.java
@@ -0,0 +1,47 @@
+/*
+ * (C) Copyright IBM Corp. 2025.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on
+ * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+
+package com.ibm.watson.assistant.v2.model;
+
+import com.ibm.cloud.sdk.core.service.model.GenericModel;
+
+/** ResponseGenericCitationRangesItem. */
+public class ResponseGenericCitationRangesItem extends GenericModel {
+
+ protected Long start;
+ protected Long end;
+
+ protected ResponseGenericCitationRangesItem() {}
+
+ /**
+ * Gets the start.
+ *
+ * The offset of the start of the citation in the generated response.
+ *
+ * @return the start
+ */
+ public Long getStart() {
+ return start;
+ }
+
+ /**
+ * Gets the end.
+ *
+ *
The offset of the end of the citation in the generated response.
+ *
+ * @return the end
+ */
+ public Long getEnd() {
+ return end;
+ }
+}
diff --git a/assistant/src/main/java/com/ibm/watson/assistant/v2/model/ResponseGenericConfidenceScores.java b/assistant/src/main/java/com/ibm/watson/assistant/v2/model/ResponseGenericConfidenceScores.java
new file mode 100644
index 00000000000..3a4adbfe48b
--- /dev/null
+++ b/assistant/src/main/java/com/ibm/watson/assistant/v2/model/ResponseGenericConfidenceScores.java
@@ -0,0 +1,84 @@
+/*
+ * (C) Copyright IBM Corp. 2025.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on
+ * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+
+package com.ibm.watson.assistant.v2.model;
+
+import com.google.gson.annotations.SerializedName;
+import com.ibm.cloud.sdk.core.service.model.GenericModel;
+
+/**
+ * The confidence scores for determining whether to show the generated response or an “I don't know”
+ * response.
+ */
+public class ResponseGenericConfidenceScores extends GenericModel {
+
+ protected Double threshold;
+
+ @SerializedName("pre_gen")
+ protected Double preGen;
+
+ @SerializedName("post_gen")
+ protected Double postGen;
+
+ protected Double extractiveness;
+
+ protected ResponseGenericConfidenceScores() {}
+
+ /**
+ * Gets the threshold.
+ *
+ *
The confidence score threshold. If either the pre_gen or post_gen score is below this
+ * threshold, an “I don't know” response will be shown to replace the generated text. It can be
+ * configured either in the user interface or through the Update skill API. For more information,
+ * see the [watsonx Assistant documentation](
+ * https://cloud.ibm.com/docs/watson-assistant?topic=watson-assistant-conversational-search#behavioral-tuning-conversational-search).
+ *
+ * @return the threshold
+ */
+ public Double getThreshold() {
+ return threshold;
+ }
+
+ /**
+ * Gets the preGen.
+ *
+ *
The confidence score based on user query and search results.
+ *
+ * @return the preGen
+ */
+ public Double getPreGen() {
+ return preGen;
+ }
+
+ /**
+ * Gets the postGen.
+ *
+ *
The confidence score based on user query, search results, and the generated response.
+ *
+ * @return the postGen
+ */
+ public Double getPostGen() {
+ return postGen;
+ }
+
+ /**
+ * Gets the extractiveness.
+ *
+ *
It indicates how extractive the generated response is from the search results.
+ *
+ * @return the extractiveness
+ */
+ public Double getExtractiveness() {
+ return extractiveness;
+ }
+}
diff --git a/assistant/src/main/java/com/ibm/watson/assistant/v2/model/RuntimeResponseGeneric.java b/assistant/src/main/java/com/ibm/watson/assistant/v2/model/RuntimeResponseGeneric.java
index a4d74921f52..1bd2e700f48 100644
--- a/assistant/src/main/java/com/ibm/watson/assistant/v2/model/RuntimeResponseGeneric.java
+++ b/assistant/src/main/java/com/ibm/watson/assistant/v2/model/RuntimeResponseGeneric.java
@@ -1,5 +1,5 @@
/*
- * (C) Copyright IBM Corp. 2019, 2024.
+ * (C) Copyright IBM Corp. 2019, 2025.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
@@ -21,10 +21,11 @@
/**
* RuntimeResponseGeneric.
*
- *
Classes which extend this class: - RuntimeResponseGenericRuntimeResponseTypeText -
- * RuntimeResponseGenericRuntimeResponseTypePause - RuntimeResponseGenericRuntimeResponseTypeImage -
- * RuntimeResponseGenericRuntimeResponseTypeOption -
- * RuntimeResponseGenericRuntimeResponseTypeConnectToAgent -
+ *
Classes which extend this class: -
+ * RuntimeResponseGenericRuntimeResponseTypeConversationalSearch -
+ * RuntimeResponseGenericRuntimeResponseTypeText - RuntimeResponseGenericRuntimeResponseTypePause -
+ * RuntimeResponseGenericRuntimeResponseTypeImage - RuntimeResponseGenericRuntimeResponseTypeOption
+ * - RuntimeResponseGenericRuntimeResponseTypeConnectToAgent -
* RuntimeResponseGenericRuntimeResponseTypeSuggestion -
* RuntimeResponseGenericRuntimeResponseTypeChannelTransfer -
* RuntimeResponseGenericRuntimeResponseTypeSearch -
@@ -40,6 +41,8 @@ public class RuntimeResponseGeneric extends GenericModel {
static {
discriminatorMapping = new java.util.HashMap<>();
+ discriminatorMapping.put(
+ "conversation_search", RuntimeResponseGenericRuntimeResponseTypeConversationalSearch.class);
discriminatorMapping.put("audio", RuntimeResponseGenericRuntimeResponseTypeAudio.class);
discriminatorMapping.put(
"channel_transfer", RuntimeResponseGenericRuntimeResponseTypeChannelTransfer.class);
@@ -70,6 +73,22 @@ public interface Preference {
protected String responseType;
protected String text;
+
+ @SerializedName("citations_title")
+ protected String citationsTitle;
+
+ protected List citations;
+
+ @SerializedName("confidence_scores")
+ protected ResponseGenericConfidenceScores confidenceScores;
+
+ @SerializedName("response_length_option")
+ protected String responseLengthOption;
+
+ @SerializedName("search_results")
+ protected List searchResults;
+
+ protected String disclaimer;
protected List channels;
protected Long time;
protected Boolean typing;
@@ -132,7 +151,7 @@ public String responseType() {
/**
* Gets the text.
*
- * The text of the response.
+ *
The text of the conversational search response.
*
* @return the text
*/
@@ -140,6 +159,77 @@ public String text() {
return text;
}
+ /**
+ * Gets the citationsTitle.
+ *
+ *
The title of the citations. The default is “How do we know?”. It can be updated in the
+ * conversational search user interface.
+ *
+ * @return the citationsTitle
+ */
+ public String citationsTitle() {
+ return citationsTitle;
+ }
+
+ /**
+ * Gets the citations.
+ *
+ *
The citations for the generated response.
+ *
+ * @return the citations
+ */
+ public List citations() {
+ return citations;
+ }
+
+ /**
+ * Gets the confidenceScores.
+ *
+ * The confidence scores for determining whether to show the generated response or an “I don't
+ * know” response.
+ *
+ * @return the confidenceScores
+ */
+ public ResponseGenericConfidenceScores confidenceScores() {
+ return confidenceScores;
+ }
+
+ /**
+ * Gets the responseLengthOption.
+ *
+ *
The response length option. It is used to control the length of the generated response. It
+ * is configured either in the user interface or through the Update skill API. For more
+ * information, see [watsonx Assistant documentation](
+ * https://cloud.ibm.com/docs/watson-assistant?topic=watson-assistant-conversational-search#tuning-the-generated-response-length-in-conversational-search).
+ *
+ * @return the responseLengthOption
+ */
+ public String responseLengthOption() {
+ return responseLengthOption;
+ }
+
+ /**
+ * Gets the searchResults.
+ *
+ *
An array of objects containing the search results.
+ *
+ * @return the searchResults
+ */
+ public List searchResults() {
+ return searchResults;
+ }
+
+ /**
+ * Gets the disclaimer.
+ *
+ * A disclaimer for the conversational search response.
+ *
+ * @return the disclaimer
+ */
+ public String disclaimer() {
+ return disclaimer;
+ }
+
/**
* Gets the channels.
*
diff --git a/assistant/src/main/java/com/ibm/watson/assistant/v2/model/RuntimeResponseGenericRuntimeResponseTypeConversationalSearch.java b/assistant/src/main/java/com/ibm/watson/assistant/v2/model/RuntimeResponseGenericRuntimeResponseTypeConversationalSearch.java
new file mode 100644
index 00000000000..8de4a9e5e23
--- /dev/null
+++ b/assistant/src/main/java/com/ibm/watson/assistant/v2/model/RuntimeResponseGenericRuntimeResponseTypeConversationalSearch.java
@@ -0,0 +1,21 @@
+/*
+ * (C) Copyright IBM Corp. 2025.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on
+ * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+
+package com.ibm.watson.assistant.v2.model;
+
+/** RuntimeResponseGenericRuntimeResponseTypeConversationalSearch. */
+public class RuntimeResponseGenericRuntimeResponseTypeConversationalSearch
+ extends RuntimeResponseGeneric {
+
+ protected RuntimeResponseGenericRuntimeResponseTypeConversationalSearch() {}
+}
diff --git a/assistant/src/main/java/com/ibm/watson/assistant/v2/model/SearchResults.java b/assistant/src/main/java/com/ibm/watson/assistant/v2/model/SearchResults.java
new file mode 100644
index 00000000000..063d995c9ea
--- /dev/null
+++ b/assistant/src/main/java/com/ibm/watson/assistant/v2/model/SearchResults.java
@@ -0,0 +1,74 @@
+/*
+ * (C) Copyright IBM Corp. 2025.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on
+ * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+
+package com.ibm.watson.assistant.v2.model;
+
+import com.google.gson.annotations.SerializedName;
+import com.ibm.cloud.sdk.core.service.model.GenericModel;
+
+/** SearchResults. */
+public class SearchResults extends GenericModel {
+
+ @SerializedName("result_metadata")
+ protected SearchResultsResultMetadata resultMetadata;
+
+ protected String id;
+ protected String title;
+ protected String body;
+
+ protected SearchResults() {}
+
+ /**
+ * Gets the resultMetadata.
+ *
+ *
The metadata of the search result.
+ *
+ * @return the resultMetadata
+ */
+ public SearchResultsResultMetadata getResultMetadata() {
+ return resultMetadata;
+ }
+
+ /**
+ * Gets the id.
+ *
+ *
The ID of the search result. It may not be unique.
+ *
+ * @return the id
+ */
+ public String getId() {
+ return id;
+ }
+
+ /**
+ * Gets the title.
+ *
+ *
The title of the search result.
+ *
+ * @return the title
+ */
+ public String getTitle() {
+ return title;
+ }
+
+ /**
+ * Gets the body.
+ *
+ *
The body content of the search result.
+ *
+ * @return the body
+ */
+ public String getBody() {
+ return body;
+ }
+}
diff --git a/assistant/src/main/java/com/ibm/watson/assistant/v2/model/SearchResultsResultMetadata.java b/assistant/src/main/java/com/ibm/watson/assistant/v2/model/SearchResultsResultMetadata.java
new file mode 100644
index 00000000000..2a5873b51c0
--- /dev/null
+++ b/assistant/src/main/java/com/ibm/watson/assistant/v2/model/SearchResultsResultMetadata.java
@@ -0,0 +1,50 @@
+/*
+ * (C) Copyright IBM Corp. 2025.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on
+ * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+
+package com.ibm.watson.assistant.v2.model;
+
+import com.google.gson.annotations.SerializedName;
+import com.ibm.cloud.sdk.core.service.model.GenericModel;
+
+/** The metadata of the search result. */
+public class SearchResultsResultMetadata extends GenericModel {
+
+ @SerializedName("document_retrieval_source")
+ protected String documentRetrievalSource;
+
+ protected Long score;
+
+ protected SearchResultsResultMetadata() {}
+
+ /**
+ * Gets the documentRetrievalSource.
+ *
+ *
The source of the search result.
+ *
+ * @return the documentRetrievalSource
+ */
+ public String getDocumentRetrievalSource() {
+ return documentRetrievalSource;
+ }
+
+ /**
+ * Gets the score.
+ *
+ *
The relevance score of the search result to the user query.
+ *
+ * @return the score
+ */
+ public Long getScore() {
+ return score;
+ }
+}
diff --git a/assistant/src/main/java/com/ibm/watson/assistant/v2/model/TurnEventStepSource.java b/assistant/src/main/java/com/ibm/watson/assistant/v2/model/TurnEventStepSource.java
new file mode 100644
index 00000000000..a38957d75c5
--- /dev/null
+++ b/assistant/src/main/java/com/ibm/watson/assistant/v2/model/TurnEventStepSource.java
@@ -0,0 +1,105 @@
+/*
+ * (C) Copyright IBM Corp. 2025.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on
+ * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+
+package com.ibm.watson.assistant.v2.model;
+
+import com.google.gson.annotations.SerializedName;
+import com.ibm.cloud.sdk.core.service.model.GenericModel;
+
+/** TurnEventStepSource. */
+public class TurnEventStepSource extends GenericModel {
+
+ /** The type of turn event. */
+ public interface Type {
+ /** step. */
+ String STEP = "step";
+ }
+
+ protected String type;
+ protected String action;
+
+ @SerializedName("action_title")
+ protected String actionTitle;
+
+ protected String step;
+
+ @SerializedName("is_ai_guided")
+ protected Boolean isAiGuided;
+
+ @SerializedName("is_skill_based")
+ protected Boolean isSkillBased;
+
+ protected TurnEventStepSource() {}
+
+ /**
+ * Gets the type.
+ *
+ *
The type of turn event.
+ *
+ * @return the type
+ */
+ public String getType() {
+ return type;
+ }
+
+ /**
+ * Gets the action.
+ *
+ *
An action that was visited during processing of the message.
+ *
+ * @return the action
+ */
+ public String getAction() {
+ return action;
+ }
+
+ /**
+ * Gets the actionTitle.
+ *
+ *
The title of the action.
+ *
+ * @return the actionTitle
+ */
+ public String getActionTitle() {
+ return actionTitle;
+ }
+
+ /**
+ * Gets the step.
+ *
+ *
A step that was visited during processing of the message.
+ *
+ * @return the step
+ */
+ public String getStep() {
+ return step;
+ }
+
+ /**
+ * Gets the isAiGuided.
+ *
+ * @return the isAiGuided
+ */
+ public Boolean isIsAiGuided() {
+ return isAiGuided;
+ }
+
+ /**
+ * Gets the isSkillBased.
+ *
+ * @return the isSkillBased
+ */
+ public Boolean isIsSkillBased() {
+ return isSkillBased;
+ }
+}
diff --git a/assistant/src/test/java/com/ibm/watson/assistant/v2/model/ClientActionParametersTest.java b/assistant/src/test/java/com/ibm/watson/assistant/v2/model/ClientActionParametersTest.java
new file mode 100644
index 00000000000..f785d5c0cf5
--- /dev/null
+++ b/assistant/src/test/java/com/ibm/watson/assistant/v2/model/ClientActionParametersTest.java
@@ -0,0 +1,38 @@
+/*
+ * (C) Copyright IBM Corp. 2025.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on
+ * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+
+package com.ibm.watson.assistant.v2.model;
+
+import static org.testng.Assert.*;
+
+import com.ibm.cloud.sdk.core.service.model.FileWithMetadata;
+import com.ibm.watson.assistant.v2.utils.TestUtilities;
+import java.io.InputStream;
+import java.util.HashMap;
+import java.util.List;
+import org.testng.annotations.Test;
+
+/** Unit test class for the ClientActionParameters model. */
+public class ClientActionParametersTest {
+ final HashMap mockStreamMap = TestUtilities.createMockStreamMap();
+ final List mockListFileWithMetadata =
+ TestUtilities.creatMockListFileWithMetadata();
+
+ @Test
+ public void testClientActionParameters() throws Throwable {
+ ClientActionParameters clientActionParametersModel = new ClientActionParameters();
+ assertNull(clientActionParametersModel.getAccountId());
+ assertNull(clientActionParametersModel.getHash());
+ assertNull(clientActionParametersModel.getAlias());
+ }
+}
diff --git a/assistant/src/test/java/com/ibm/watson/assistant/v2/model/ClientActionTest.java b/assistant/src/test/java/com/ibm/watson/assistant/v2/model/ClientActionTest.java
new file mode 100644
index 00000000000..cb55edf5a1c
--- /dev/null
+++ b/assistant/src/test/java/com/ibm/watson/assistant/v2/model/ClientActionTest.java
@@ -0,0 +1,40 @@
+/*
+ * (C) Copyright IBM Corp. 2025.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on
+ * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+
+package com.ibm.watson.assistant.v2.model;
+
+import static org.testng.Assert.*;
+
+import com.ibm.cloud.sdk.core.service.model.FileWithMetadata;
+import com.ibm.watson.assistant.v2.utils.TestUtilities;
+import java.io.InputStream;
+import java.util.HashMap;
+import java.util.List;
+import org.testng.annotations.Test;
+
+/** Unit test class for the ClientAction model. */
+public class ClientActionTest {
+ final HashMap mockStreamMap = TestUtilities.createMockStreamMap();
+ final List mockListFileWithMetadata =
+ TestUtilities.creatMockListFileWithMetadata();
+
+ @Test
+ public void testClientAction() throws Throwable {
+ ClientAction clientActionModel = new ClientAction();
+ assertNull(clientActionModel.getName());
+ assertNull(clientActionModel.getResultVariable());
+ assertNull(clientActionModel.getType());
+ assertNull(clientActionModel.getSkill());
+ assertNull(clientActionModel.getParameters());
+ }
+}
diff --git a/assistant/src/test/java/com/ibm/watson/assistant/v2/model/MessageOutputDebugTurnEventTurnEventActionRoutingDeniedTest.java b/assistant/src/test/java/com/ibm/watson/assistant/v2/model/MessageOutputDebugTurnEventTurnEventActionRoutingDeniedTest.java
new file mode 100644
index 00000000000..6f0f42bbabc
--- /dev/null
+++ b/assistant/src/test/java/com/ibm/watson/assistant/v2/model/MessageOutputDebugTurnEventTurnEventActionRoutingDeniedTest.java
@@ -0,0 +1,41 @@
+/*
+ * (C) Copyright IBM Corp. 2025.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on
+ * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+
+package com.ibm.watson.assistant.v2.model;
+
+import static org.testng.Assert.*;
+
+import com.ibm.cloud.sdk.core.service.model.FileWithMetadata;
+import com.ibm.watson.assistant.v2.utils.TestUtilities;
+import java.io.InputStream;
+import java.util.HashMap;
+import java.util.List;
+import org.testng.annotations.Test;
+
+/** Unit test class for the MessageOutputDebugTurnEventTurnEventActionRoutingDenied model. */
+public class MessageOutputDebugTurnEventTurnEventActionRoutingDeniedTest {
+ final HashMap mockStreamMap = TestUtilities.createMockStreamMap();
+ final List mockListFileWithMetadata =
+ TestUtilities.creatMockListFileWithMetadata();
+
+ @Test
+ public void testMessageOutputDebugTurnEventTurnEventActionRoutingDenied() throws Throwable {
+ MessageOutputDebugTurnEventTurnEventActionRoutingDenied
+ messageOutputDebugTurnEventTurnEventActionRoutingDeniedModel =
+ new MessageOutputDebugTurnEventTurnEventActionRoutingDenied();
+ assertNull(messageOutputDebugTurnEventTurnEventActionRoutingDeniedModel.getEvent());
+ assertNull(messageOutputDebugTurnEventTurnEventActionRoutingDeniedModel.getSource());
+ assertNull(messageOutputDebugTurnEventTurnEventActionRoutingDeniedModel.getConditionType());
+ assertNull(messageOutputDebugTurnEventTurnEventActionRoutingDeniedModel.getReason());
+ }
+}
diff --git a/assistant/src/test/java/com/ibm/watson/assistant/v2/model/MessageOutputDebugTurnEventTurnEventClientActionsTest.java b/assistant/src/test/java/com/ibm/watson/assistant/v2/model/MessageOutputDebugTurnEventTurnEventClientActionsTest.java
new file mode 100644
index 00000000000..e49a835884f
--- /dev/null
+++ b/assistant/src/test/java/com/ibm/watson/assistant/v2/model/MessageOutputDebugTurnEventTurnEventClientActionsTest.java
@@ -0,0 +1,40 @@
+/*
+ * (C) Copyright IBM Corp. 2025.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on
+ * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+
+package com.ibm.watson.assistant.v2.model;
+
+import static org.testng.Assert.*;
+
+import com.ibm.cloud.sdk.core.service.model.FileWithMetadata;
+import com.ibm.watson.assistant.v2.utils.TestUtilities;
+import java.io.InputStream;
+import java.util.HashMap;
+import java.util.List;
+import org.testng.annotations.Test;
+
+/** Unit test class for the MessageOutputDebugTurnEventTurnEventClientActions model. */
+public class MessageOutputDebugTurnEventTurnEventClientActionsTest {
+ final HashMap mockStreamMap = TestUtilities.createMockStreamMap();
+ final List mockListFileWithMetadata =
+ TestUtilities.creatMockListFileWithMetadata();
+
+ @Test
+ public void testMessageOutputDebugTurnEventTurnEventClientActions() throws Throwable {
+ MessageOutputDebugTurnEventTurnEventClientActions
+ messageOutputDebugTurnEventTurnEventClientActionsModel =
+ new MessageOutputDebugTurnEventTurnEventClientActions();
+ assertNull(messageOutputDebugTurnEventTurnEventClientActionsModel.getEvent());
+ assertNull(messageOutputDebugTurnEventTurnEventClientActionsModel.getSource());
+ assertNull(messageOutputDebugTurnEventTurnEventClientActionsModel.getClientActions());
+ }
+}
diff --git a/assistant/src/test/java/com/ibm/watson/assistant/v2/model/MessageOutputDebugTurnEventTurnEventConversationalSearchEndTest.java b/assistant/src/test/java/com/ibm/watson/assistant/v2/model/MessageOutputDebugTurnEventTurnEventConversationalSearchEndTest.java
index beaba9cdca5..d2a25ea2a94 100644
--- a/assistant/src/test/java/com/ibm/watson/assistant/v2/model/MessageOutputDebugTurnEventTurnEventConversationalSearchEndTest.java
+++ b/assistant/src/test/java/com/ibm/watson/assistant/v2/model/MessageOutputDebugTurnEventTurnEventConversationalSearchEndTest.java
@@ -11,31 +11,30 @@
* specific language governing permissions and limitations under the License.
*/
- package com.ibm.watson.assistant.v2.model;
+package com.ibm.watson.assistant.v2.model;
- import static org.testng.Assert.*;
-
- import com.ibm.cloud.sdk.core.service.model.FileWithMetadata;
- import com.ibm.watson.assistant.v2.utils.TestUtilities;
- import java.io.InputStream;
- import java.util.HashMap;
- import java.util.List;
- import org.testng.annotations.Test;
-
- /** Unit test class for the MessageOutputDebugTurnEventTurnEventConversationalSearchEnd model. */
- public class MessageOutputDebugTurnEventTurnEventConversationalSearchEndTest {
- final HashMap mockStreamMap = TestUtilities.createMockStreamMap();
- final List mockListFileWithMetadata =
- TestUtilities.creatMockListFileWithMetadata();
-
- @Test
- public void testMessageOutputDebugTurnEventTurnEventConversationalSearchEnd() throws Throwable {
- MessageOutputDebugTurnEventTurnEventConversationalSearchEnd
- messageOutputDebugTurnEventTurnEventConversationalSearchEndModel =
- new MessageOutputDebugTurnEventTurnEventConversationalSearchEnd();
- assertNull(messageOutputDebugTurnEventTurnEventConversationalSearchEndModel.getEvent());
- assertNull(messageOutputDebugTurnEventTurnEventConversationalSearchEndModel.getSource());
- assertNull(messageOutputDebugTurnEventTurnEventConversationalSearchEndModel.getConditionType());
- }
- }
-
\ No newline at end of file
+import static org.testng.Assert.*;
+
+import com.ibm.cloud.sdk.core.service.model.FileWithMetadata;
+import com.ibm.watson.assistant.v2.utils.TestUtilities;
+import java.io.InputStream;
+import java.util.HashMap;
+import java.util.List;
+import org.testng.annotations.Test;
+
+/** Unit test class for the MessageOutputDebugTurnEventTurnEventConversationalSearchEnd model. */
+public class MessageOutputDebugTurnEventTurnEventConversationalSearchEndTest {
+ final HashMap mockStreamMap = TestUtilities.createMockStreamMap();
+ final List mockListFileWithMetadata =
+ TestUtilities.creatMockListFileWithMetadata();
+
+ @Test
+ public void testMessageOutputDebugTurnEventTurnEventConversationalSearchEnd() throws Throwable {
+ MessageOutputDebugTurnEventTurnEventConversationalSearchEnd
+ messageOutputDebugTurnEventTurnEventConversationalSearchEndModel =
+ new MessageOutputDebugTurnEventTurnEventConversationalSearchEnd();
+ assertNull(messageOutputDebugTurnEventTurnEventConversationalSearchEndModel.getEvent());
+ assertNull(messageOutputDebugTurnEventTurnEventConversationalSearchEndModel.getSource());
+ assertNull(messageOutputDebugTurnEventTurnEventConversationalSearchEndModel.getConditionType());
+ }
+}
diff --git a/assistant/src/test/java/com/ibm/watson/assistant/v2/model/MessageOutputDebugTurnEventTurnEventManualRouteTest.java b/assistant/src/test/java/com/ibm/watson/assistant/v2/model/MessageOutputDebugTurnEventTurnEventManualRouteTest.java
new file mode 100644
index 00000000000..f81328abd60
--- /dev/null
+++ b/assistant/src/test/java/com/ibm/watson/assistant/v2/model/MessageOutputDebugTurnEventTurnEventManualRouteTest.java
@@ -0,0 +1,42 @@
+/*
+ * (C) Copyright IBM Corp. 2025.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on
+ * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+
+package com.ibm.watson.assistant.v2.model;
+
+import static org.testng.Assert.*;
+
+import com.ibm.cloud.sdk.core.service.model.FileWithMetadata;
+import com.ibm.watson.assistant.v2.utils.TestUtilities;
+import java.io.InputStream;
+import java.util.HashMap;
+import java.util.List;
+import org.testng.annotations.Test;
+
+/** Unit test class for the MessageOutputDebugTurnEventTurnEventManualRoute model. */
+public class MessageOutputDebugTurnEventTurnEventManualRouteTest {
+ final HashMap mockStreamMap = TestUtilities.createMockStreamMap();
+ final List mockListFileWithMetadata =
+ TestUtilities.creatMockListFileWithMetadata();
+
+ @Test
+ public void testMessageOutputDebugTurnEventTurnEventManualRoute() throws Throwable {
+ MessageOutputDebugTurnEventTurnEventManualRoute
+ messageOutputDebugTurnEventTurnEventManualRouteModel =
+ new MessageOutputDebugTurnEventTurnEventManualRoute();
+ assertNull(messageOutputDebugTurnEventTurnEventManualRouteModel.getEvent());
+ assertNull(messageOutputDebugTurnEventTurnEventManualRouteModel.getSource());
+ assertNull(messageOutputDebugTurnEventTurnEventManualRouteModel.getConditionType());
+ assertNull(messageOutputDebugTurnEventTurnEventManualRouteModel.getActionStartTime());
+ assertNull(messageOutputDebugTurnEventTurnEventManualRouteModel.getRouteName());
+ }
+}
diff --git a/assistant/src/test/java/com/ibm/watson/assistant/v2/model/MessageOutputDebugTurnEventTurnEventSuggestionIntentsDeniedTest.java b/assistant/src/test/java/com/ibm/watson/assistant/v2/model/MessageOutputDebugTurnEventTurnEventSuggestionIntentsDeniedTest.java
new file mode 100644
index 00000000000..5bdd7225a96
--- /dev/null
+++ b/assistant/src/test/java/com/ibm/watson/assistant/v2/model/MessageOutputDebugTurnEventTurnEventSuggestionIntentsDeniedTest.java
@@ -0,0 +1,39 @@
+/*
+ * (C) Copyright IBM Corp. 2025.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on
+ * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+
+package com.ibm.watson.assistant.v2.model;
+
+import static org.testng.Assert.*;
+
+import com.ibm.cloud.sdk.core.service.model.FileWithMetadata;
+import com.ibm.watson.assistant.v2.utils.TestUtilities;
+import java.io.InputStream;
+import java.util.HashMap;
+import java.util.List;
+import org.testng.annotations.Test;
+
+/** Unit test class for the MessageOutputDebugTurnEventTurnEventSuggestionIntentsDenied model. */
+public class MessageOutputDebugTurnEventTurnEventSuggestionIntentsDeniedTest {
+ final HashMap mockStreamMap = TestUtilities.createMockStreamMap();
+ final List mockListFileWithMetadata =
+ TestUtilities.creatMockListFileWithMetadata();
+
+ @Test
+ public void testMessageOutputDebugTurnEventTurnEventSuggestionIntentsDenied() throws Throwable {
+ MessageOutputDebugTurnEventTurnEventSuggestionIntentsDenied
+ messageOutputDebugTurnEventTurnEventSuggestionIntentsDeniedModel =
+ new MessageOutputDebugTurnEventTurnEventSuggestionIntentsDenied();
+ assertNull(messageOutputDebugTurnEventTurnEventSuggestionIntentsDeniedModel.getEvent());
+ assertNull(messageOutputDebugTurnEventTurnEventSuggestionIntentsDeniedModel.getIntentsDenied());
+ }
+}
diff --git a/assistant/src/test/java/com/ibm/watson/assistant/v2/model/MessageOutputDebugTurnEventTurnEventTopicSwitchDeniedTest.java b/assistant/src/test/java/com/ibm/watson/assistant/v2/model/MessageOutputDebugTurnEventTurnEventTopicSwitchDeniedTest.java
new file mode 100644
index 00000000000..3d075dd9f46
--- /dev/null
+++ b/assistant/src/test/java/com/ibm/watson/assistant/v2/model/MessageOutputDebugTurnEventTurnEventTopicSwitchDeniedTest.java
@@ -0,0 +1,41 @@
+/*
+ * (C) Copyright IBM Corp. 2025.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on
+ * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+
+package com.ibm.watson.assistant.v2.model;
+
+import static org.testng.Assert.*;
+
+import com.ibm.cloud.sdk.core.service.model.FileWithMetadata;
+import com.ibm.watson.assistant.v2.utils.TestUtilities;
+import java.io.InputStream;
+import java.util.HashMap;
+import java.util.List;
+import org.testng.annotations.Test;
+
+/** Unit test class for the MessageOutputDebugTurnEventTurnEventTopicSwitchDenied model. */
+public class MessageOutputDebugTurnEventTurnEventTopicSwitchDeniedTest {
+ final HashMap mockStreamMap = TestUtilities.createMockStreamMap();
+ final List mockListFileWithMetadata =
+ TestUtilities.creatMockListFileWithMetadata();
+
+ @Test
+ public void testMessageOutputDebugTurnEventTurnEventTopicSwitchDenied() throws Throwable {
+ MessageOutputDebugTurnEventTurnEventTopicSwitchDenied
+ messageOutputDebugTurnEventTurnEventTopicSwitchDeniedModel =
+ new MessageOutputDebugTurnEventTurnEventTopicSwitchDenied();
+ assertNull(messageOutputDebugTurnEventTurnEventTopicSwitchDeniedModel.getEvent());
+ assertNull(messageOutputDebugTurnEventTurnEventTopicSwitchDeniedModel.getSource());
+ assertNull(messageOutputDebugTurnEventTurnEventTopicSwitchDeniedModel.getConditionType());
+ assertNull(messageOutputDebugTurnEventTurnEventTopicSwitchDeniedModel.getReason());
+ }
+}
diff --git a/assistant/src/test/java/com/ibm/watson/assistant/v2/model/ResponseGenericCitationRangesItemTest.java b/assistant/src/test/java/com/ibm/watson/assistant/v2/model/ResponseGenericCitationRangesItemTest.java
new file mode 100644
index 00000000000..f1a05fe8348
--- /dev/null
+++ b/assistant/src/test/java/com/ibm/watson/assistant/v2/model/ResponseGenericCitationRangesItemTest.java
@@ -0,0 +1,38 @@
+/*
+ * (C) Copyright IBM Corp. 2025.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on
+ * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+
+package com.ibm.watson.assistant.v2.model;
+
+import static org.testng.Assert.*;
+
+import com.ibm.cloud.sdk.core.service.model.FileWithMetadata;
+import com.ibm.watson.assistant.v2.utils.TestUtilities;
+import java.io.InputStream;
+import java.util.HashMap;
+import java.util.List;
+import org.testng.annotations.Test;
+
+/** Unit test class for the ResponseGenericCitationRangesItem model. */
+public class ResponseGenericCitationRangesItemTest {
+ final HashMap mockStreamMap = TestUtilities.createMockStreamMap();
+ final List mockListFileWithMetadata =
+ TestUtilities.creatMockListFileWithMetadata();
+
+ @Test
+ public void testResponseGenericCitationRangesItem() throws Throwable {
+ ResponseGenericCitationRangesItem responseGenericCitationRangesItemModel =
+ new ResponseGenericCitationRangesItem();
+ assertNull(responseGenericCitationRangesItemModel.getStart());
+ assertNull(responseGenericCitationRangesItemModel.getEnd());
+ }
+}
diff --git a/assistant/src/test/java/com/ibm/watson/assistant/v2/model/ResponseGenericCitationTest.java b/assistant/src/test/java/com/ibm/watson/assistant/v2/model/ResponseGenericCitationTest.java
new file mode 100644
index 00000000000..3aa758a41de
--- /dev/null
+++ b/assistant/src/test/java/com/ibm/watson/assistant/v2/model/ResponseGenericCitationTest.java
@@ -0,0 +1,40 @@
+/*
+ * (C) Copyright IBM Corp. 2025.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on
+ * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+
+package com.ibm.watson.assistant.v2.model;
+
+import static org.testng.Assert.*;
+
+import com.ibm.cloud.sdk.core.service.model.FileWithMetadata;
+import com.ibm.watson.assistant.v2.utils.TestUtilities;
+import java.io.InputStream;
+import java.util.HashMap;
+import java.util.List;
+import org.testng.annotations.Test;
+
+/** Unit test class for the ResponseGenericCitation model. */
+public class ResponseGenericCitationTest {
+ final HashMap mockStreamMap = TestUtilities.createMockStreamMap();
+ final List mockListFileWithMetadata =
+ TestUtilities.creatMockListFileWithMetadata();
+
+ @Test
+ public void testResponseGenericCitation() throws Throwable {
+ ResponseGenericCitation responseGenericCitationModel = new ResponseGenericCitation();
+ assertNull(responseGenericCitationModel.getTitle());
+ assertNull(responseGenericCitationModel.getText());
+ assertNull(responseGenericCitationModel.getBody());
+ assertNull(responseGenericCitationModel.getSearchResultIndex());
+ assertNull(responseGenericCitationModel.getRanges());
+ }
+}
diff --git a/assistant/src/test/java/com/ibm/watson/assistant/v2/model/ResponseGenericConfidenceScoresTest.java b/assistant/src/test/java/com/ibm/watson/assistant/v2/model/ResponseGenericConfidenceScoresTest.java
new file mode 100644
index 00000000000..8a494ec5583
--- /dev/null
+++ b/assistant/src/test/java/com/ibm/watson/assistant/v2/model/ResponseGenericConfidenceScoresTest.java
@@ -0,0 +1,40 @@
+/*
+ * (C) Copyright IBM Corp. 2025.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on
+ * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+
+package com.ibm.watson.assistant.v2.model;
+
+import static org.testng.Assert.*;
+
+import com.ibm.cloud.sdk.core.service.model.FileWithMetadata;
+import com.ibm.watson.assistant.v2.utils.TestUtilities;
+import java.io.InputStream;
+import java.util.HashMap;
+import java.util.List;
+import org.testng.annotations.Test;
+
+/** Unit test class for the ResponseGenericConfidenceScores model. */
+public class ResponseGenericConfidenceScoresTest {
+ final HashMap mockStreamMap = TestUtilities.createMockStreamMap();
+ final List mockListFileWithMetadata =
+ TestUtilities.creatMockListFileWithMetadata();
+
+ @Test
+ public void testResponseGenericConfidenceScores() throws Throwable {
+ ResponseGenericConfidenceScores responseGenericConfidenceScoresModel =
+ new ResponseGenericConfidenceScores();
+ assertNull(responseGenericConfidenceScoresModel.getThreshold());
+ assertNull(responseGenericConfidenceScoresModel.getPreGen());
+ assertNull(responseGenericConfidenceScoresModel.getPostGen());
+ assertNull(responseGenericConfidenceScoresModel.getExtractiveness());
+ }
+}
diff --git a/assistant/src/test/java/com/ibm/watson/assistant/v2/model/RuntimeResponseGenericRuntimeResponseTypeConversationalSearchTest.java b/assistant/src/test/java/com/ibm/watson/assistant/v2/model/RuntimeResponseGenericRuntimeResponseTypeConversationalSearchTest.java
new file mode 100644
index 00000000000..9d65bbbb50c
--- /dev/null
+++ b/assistant/src/test/java/com/ibm/watson/assistant/v2/model/RuntimeResponseGenericRuntimeResponseTypeConversationalSearchTest.java
@@ -0,0 +1,47 @@
+/*
+ * (C) Copyright IBM Corp. 2025.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on
+ * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+
+package com.ibm.watson.assistant.v2.model;
+
+import static org.testng.Assert.*;
+
+import com.ibm.cloud.sdk.core.service.model.FileWithMetadata;
+import com.ibm.watson.assistant.v2.utils.TestUtilities;
+import java.io.InputStream;
+import java.util.HashMap;
+import java.util.List;
+import org.testng.annotations.Test;
+
+/** Unit test class for the RuntimeResponseGenericRuntimeResponseTypeConversationalSearch model. */
+public class RuntimeResponseGenericRuntimeResponseTypeConversationalSearchTest {
+ final HashMap mockStreamMap = TestUtilities.createMockStreamMap();
+ final List mockListFileWithMetadata =
+ TestUtilities.creatMockListFileWithMetadata();
+
+ @Test
+ public void testRuntimeResponseGenericRuntimeResponseTypeConversationalSearch() throws Throwable {
+ RuntimeResponseGenericRuntimeResponseTypeConversationalSearch
+ runtimeResponseGenericRuntimeResponseTypeConversationalSearchModel =
+ new RuntimeResponseGenericRuntimeResponseTypeConversationalSearch();
+ assertNull(runtimeResponseGenericRuntimeResponseTypeConversationalSearchModel.responseType());
+ assertNull(runtimeResponseGenericRuntimeResponseTypeConversationalSearchModel.text());
+ assertNull(runtimeResponseGenericRuntimeResponseTypeConversationalSearchModel.citationsTitle());
+ assertNull(runtimeResponseGenericRuntimeResponseTypeConversationalSearchModel.citations());
+ assertNull(
+ runtimeResponseGenericRuntimeResponseTypeConversationalSearchModel.confidenceScores());
+ assertNull(
+ runtimeResponseGenericRuntimeResponseTypeConversationalSearchModel.responseLengthOption());
+ assertNull(runtimeResponseGenericRuntimeResponseTypeConversationalSearchModel.searchResults());
+ assertNull(runtimeResponseGenericRuntimeResponseTypeConversationalSearchModel.disclaimer());
+ }
+}
diff --git a/assistant/src/test/java/com/ibm/watson/assistant/v2/model/SearchResultsResultMetadataTest.java b/assistant/src/test/java/com/ibm/watson/assistant/v2/model/SearchResultsResultMetadataTest.java
new file mode 100644
index 00000000000..8ffd9742a15
--- /dev/null
+++ b/assistant/src/test/java/com/ibm/watson/assistant/v2/model/SearchResultsResultMetadataTest.java
@@ -0,0 +1,38 @@
+/*
+ * (C) Copyright IBM Corp. 2025.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on
+ * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+
+package com.ibm.watson.assistant.v2.model;
+
+import static org.testng.Assert.*;
+
+import com.ibm.cloud.sdk.core.service.model.FileWithMetadata;
+import com.ibm.watson.assistant.v2.utils.TestUtilities;
+import java.io.InputStream;
+import java.util.HashMap;
+import java.util.List;
+import org.testng.annotations.Test;
+
+/** Unit test class for the SearchResultsResultMetadata model. */
+public class SearchResultsResultMetadataTest {
+ final HashMap mockStreamMap = TestUtilities.createMockStreamMap();
+ final List mockListFileWithMetadata =
+ TestUtilities.creatMockListFileWithMetadata();
+
+ @Test
+ public void testSearchResultsResultMetadata() throws Throwable {
+ SearchResultsResultMetadata searchResultsResultMetadataModel =
+ new SearchResultsResultMetadata();
+ assertNull(searchResultsResultMetadataModel.getDocumentRetrievalSource());
+ assertNull(searchResultsResultMetadataModel.getScore());
+ }
+}
diff --git a/assistant/src/test/java/com/ibm/watson/assistant/v2/model/SearchResultsTest.java b/assistant/src/test/java/com/ibm/watson/assistant/v2/model/SearchResultsTest.java
new file mode 100644
index 00000000000..8723aa25f39
--- /dev/null
+++ b/assistant/src/test/java/com/ibm/watson/assistant/v2/model/SearchResultsTest.java
@@ -0,0 +1,39 @@
+/*
+ * (C) Copyright IBM Corp. 2025.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on
+ * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+
+package com.ibm.watson.assistant.v2.model;
+
+import static org.testng.Assert.*;
+
+import com.ibm.cloud.sdk.core.service.model.FileWithMetadata;
+import com.ibm.watson.assistant.v2.utils.TestUtilities;
+import java.io.InputStream;
+import java.util.HashMap;
+import java.util.List;
+import org.testng.annotations.Test;
+
+/** Unit test class for the SearchResults model. */
+public class SearchResultsTest {
+ final HashMap mockStreamMap = TestUtilities.createMockStreamMap();
+ final List mockListFileWithMetadata =
+ TestUtilities.creatMockListFileWithMetadata();
+
+ @Test
+ public void testSearchResults() throws Throwable {
+ SearchResults searchResultsModel = new SearchResults();
+ assertNull(searchResultsModel.getResultMetadata());
+ assertNull(searchResultsModel.getId());
+ assertNull(searchResultsModel.getTitle());
+ assertNull(searchResultsModel.getBody());
+ }
+}
diff --git a/assistant/src/test/java/com/ibm/watson/assistant/v2/model/TurnEventStepSourceTest.java b/assistant/src/test/java/com/ibm/watson/assistant/v2/model/TurnEventStepSourceTest.java
new file mode 100644
index 00000000000..2a16316e37f
--- /dev/null
+++ b/assistant/src/test/java/com/ibm/watson/assistant/v2/model/TurnEventStepSourceTest.java
@@ -0,0 +1,41 @@
+/*
+ * (C) Copyright IBM Corp. 2025.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on
+ * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+
+package com.ibm.watson.assistant.v2.model;
+
+import static org.testng.Assert.*;
+
+import com.ibm.cloud.sdk.core.service.model.FileWithMetadata;
+import com.ibm.watson.assistant.v2.utils.TestUtilities;
+import java.io.InputStream;
+import java.util.HashMap;
+import java.util.List;
+import org.testng.annotations.Test;
+
+/** Unit test class for the TurnEventStepSource model. */
+public class TurnEventStepSourceTest {
+ final HashMap mockStreamMap = TestUtilities.createMockStreamMap();
+ final List mockListFileWithMetadata =
+ TestUtilities.creatMockListFileWithMetadata();
+
+ @Test
+ public void testTurnEventStepSource() throws Throwable {
+ TurnEventStepSource turnEventStepSourceModel = new TurnEventStepSource();
+ assertNull(turnEventStepSourceModel.getType());
+ assertNull(turnEventStepSourceModel.getAction());
+ assertNull(turnEventStepSourceModel.getActionTitle());
+ assertNull(turnEventStepSourceModel.getStep());
+ assertNull(turnEventStepSourceModel.isIsAiGuided());
+ assertNull(turnEventStepSourceModel.isIsSkillBased());
+ }
+}