Class CreateEventResponse

java.lang.Object
com.ibm.cloud.sdk.core.service.model.GenericModel
com.ibm.watson.discovery.v1.model.CreateEventResponse
All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel

public class CreateEventResponse
extends com.ibm.cloud.sdk.core.service.model.GenericModel
An object defining the event being created.
  • Nested Class Summary

    Nested Classes
    Modifier and Type Class Description
    static interface  CreateEventResponse.Type
    The event type that was created.
  • Constructor Summary

    Constructors
    Constructor Description
    CreateEventResponse()  
  • Method Summary

    Modifier and Type Method Description
    EventData getData()
    Gets the data.
    String getType()
    Gets the type.

    Methods inherited from class com.ibm.cloud.sdk.core.service.model.GenericModel

    equals, hashCode, toString

    Methods inherited from class java.lang.Object

    getClass, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • CreateEventResponse

      public CreateEventResponse()
  • Method Details

    • getType

      public String getType()
      Gets the type.

      The event type that was created.

      Returns:
      the type
    • getData

      public EventData getData()
      Gets the data.

      Query event data object.

      Returns:
      the data