TokenStatus Class

  • java.lang.Object
    • com.microsoft.bot.schema.TokenStatus

public class TokenStatus

The status of a particular token.

Constructor Summary

Constructor Description
TokenStatus()

Method Summary

Modifier and Type Method and Description
java.lang.String getChannelId()

Gets the channelId.

java.lang.String getConnectionName()

Gets the connectionName.

java.lang.String getServiceProviderDisplayName()

Gets the serviceProviderDisplayName field.

boolean hasToken()

Gets the hasToken value.

void setChannelId(String withChannelId)

Sets the channelId.

void setConnectionName(String withConnectionName)

Sets the connectionName.

void setHasToken(boolean withHasToken)

Sets the hasToken value.

void setServiceProviderDisplayName(String withServiceProviderDisplayName)

Sets the serviceProviderDisplayName field.

Methods inherited from java.lang.Object

java.lang.Object.clone java.lang.Object.equals java.lang.Object.finalize java.lang.Object.getClass java.lang.Object.hashCode java.lang.Object.notify java.lang.Object.notifyAll java.lang.Object.toString java.lang.Object.wait java.lang.Object.wait java.lang.Object.wait

Constructor Details

TokenStatus

public TokenStatus()

Method Details

getChannelId

public String getChannelId()

Gets the channelId.

Returns:

The channelId.

getConnectionName

public String getConnectionName()

Gets the connectionName.

Returns:

The connection name.

getServiceProviderDisplayName

public String getServiceProviderDisplayName()

Gets the serviceProviderDisplayName field.

Returns:

The service provider display name.

hasToken

public boolean hasToken()

Gets the hasToken value.

Returns:

The hasToken value.

setChannelId

public void setChannelId(String withChannelId)

Sets the channelId.

Parameters:

withChannelId - The channelId.

setConnectionName

public void setConnectionName(String withConnectionName)

Sets the connectionName.

Parameters:

withConnectionName - The connection name.

setHasToken

public void setHasToken(boolean withHasToken)

Sets the hasToken value.

Parameters:

withHasToken - The hasToken value.

setServiceProviderDisplayName

public void setServiceProviderDisplayName(String withServiceProviderDisplayName)

Sets the serviceProviderDisplayName field.

Parameters:

withServiceProviderDisplayName - The service provider display name.

Applies to