Class DeleteSessionOptions
java.lang.Object
com.ibm.cloud.sdk.core.service.model.GenericModel
com.ibm.watson.assistant.v2.model.DeleteSessionOptions
- All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel
public class DeleteSessionOptions
extends com.ibm.cloud.sdk.core.service.model.GenericModel
The deleteSession options.
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
DeleteSessionOptions.Builder
Builder. -
Method Summary
Modifier and Type Method Description String
assistantId()
Gets the assistantId.DeleteSessionOptions.Builder
newBuilder()
New builder.String
sessionId()
Gets the sessionId.Methods inherited from class com.ibm.cloud.sdk.core.service.model.GenericModel
equals, hashCode, toString
-
Method Details
-
newBuilder
New builder.- Returns:
- a DeleteSessionOptions 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
-
sessionId
Gets the sessionId.Unique identifier of the session.
- Returns:
- the sessionId
-