TokenExchangeInvokeResponse Class

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

public class TokenExchangeInvokeResponse

The response Object of a token exchange invoke.

Constructor Summary

Constructor Description
TokenExchangeInvokeResponse()

Method Summary

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

Gets the connection name.

java.lang.String getFailureDetail()

Gets the details of why the token exchange failed.

java.lang.String getId()

Gets the id from the TokenExchangeInvokeRequest.

void setConnectionName(String withConnectionName)

Sets the connection name.

void setFailureDetail(String withFailureDetail)

Sets the details of why the token exchange failed.

void setId(String withId)

Sets the id from the TokenExchangeInvokeRequest.

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

TokenExchangeInvokeResponse

public TokenExchangeInvokeResponse()

Method Details

getConnectionName

public String getConnectionName()

Gets the connection name.

Returns:

the ConnectionName value as a String.

getFailureDetail

public String getFailureDetail()

Gets the details of why the token exchange failed.

Returns:

the FailureDetail value as a String.

getId

public String getId()

Gets the id from the TokenExchangeInvokeRequest.

Returns:

the Id value as a String.

setConnectionName

public void setConnectionName(String withConnectionName)

Sets the connection name.

Parameters:

withConnectionName - The ConnectionName value.

setFailureDetail

public void setFailureDetail(String withFailureDetail)

Sets the details of why the token exchange failed.

Parameters:

withFailureDetail - The FailureDetail value.

setId

public void setId(String withId)

Sets the id from the TokenExchangeInvokeRequest.

Parameters:

withId - The Id value.

Applies to