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.
  • Method Details

    • newBuilder

      public DeleteSessionOptions.Builder newBuilder()
      New builder.
      Returns:
      a DeleteSessionOptions builder
    • assistantId

      public String 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

      public String sessionId()
      Gets the sessionId.

      Unique identifier of the session.

      Returns:
      the sessionId