Class CreateSessionOptions
java.lang.Object
com.ibm.cloud.sdk.core.service.model.GenericModel
com.ibm.watson.assistant.v2.model.CreateSessionOptions
- All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel
public class CreateSessionOptions
extends com.ibm.cloud.sdk.core.service.model.GenericModel
The createSession options.
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
CreateSessionOptions.Builder
Builder. -
Method Summary
Modifier and Type Method Description String
assistantId()
Gets the assistantId.CreateSessionOptions.Builder
newBuilder()
New builder.Methods inherited from class com.ibm.cloud.sdk.core.service.model.GenericModel
equals, hashCode, toString
-
Method Details
-
newBuilder
New builder.- Returns:
- a CreateSessionOptions builder
-
assistantId
Gets the assistantId.Unique identifier of the assistant. To find the assistant ID in the Watson Assistant user interface, open the assistant settings and click **API Details**. For information about creating assistants, see the [documentation](https://cloud.ibm.com/docs/assistant?topic=assistant-assistant-add#assistant-add-task).
**Note:** Currently, the v2 API does not support creating assistants.
- Returns:
- the assistantId
-