Class Gateway

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

public class Gateway
extends com.ibm.cloud.sdk.core.service.model.GenericModel
Object describing a specific gateway.
  • Nested Class Summary

    Nested Classes
    Modifier and Type Class Description
    static interface  Gateway.Status
    The current status of the gateway.
  • Constructor Summary

    Constructors
    Constructor Description
    Gateway()  
  • Method Summary

    Modifier and Type Method Description
    String getGatewayId()
    Gets the gatewayId.
    String getName()
    Gets the name.
    String getStatus()
    Gets the status.
    String getToken()
    Gets the token.
    String getTokenId()
    Gets the tokenId.

    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

    • Gateway

      public Gateway()
  • Method Details

    • getGatewayId

      public String getGatewayId()
      Gets the gatewayId.

      The gateway ID of the gateway.

      Returns:
      the gatewayId
    • getName

      public String getName()
      Gets the name.

      The user defined name of the gateway.

      Returns:
      the name
    • getStatus

      public String getStatus()
      Gets the status.

      The current status of the gateway. `connected` means the gateway is connected to the remotly installed gateway. `idle` means this gateway is not currently in use.

      Returns:
      the status
    • getToken

      public String getToken()
      Gets the token.

      The generated **token** for this gateway. The value of this field is used when configuring the remotly installed gateway.

      Returns:
      the token
    • getTokenId

      public String getTokenId()
      Gets the tokenId.

      The generated **token_id** for this gateway. The value of this field is used when configuring the remotly installed gateway.

      Returns:
      the tokenId