Class DataCloudTokenResponse
- java.lang.Object
-
- com.salesforce.datacloud.jdbc.auth.model.DataCloudTokenResponse
-
- All Implemented Interfaces:
AuthenticationResponseWithError
public class DataCloudTokenResponse extends Object implements AuthenticationResponseWithError
The shape of this response can be found here under the heading "Exchanging Access Token for Data Cloud Token"
-
-
Constructor Summary
Constructors Constructor Description DataCloudTokenResponse()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected booleancanEqual(Object other)booleanequals(Object o)StringgetErrorCode()StringgetErrorDescription()intgetExpiresIn()StringgetInstanceUrl()StringgetToken()StringgetTokenType()inthashCode()voidsetErrorCode(String errorCode)voidsetErrorDescription(String errorDescription)voidsetExpiresIn(int expiresIn)voidsetInstanceUrl(String instanceUrl)voidsetToken(String token)voidsetTokenType(String tokenType)StringtoString()
-
-
-
Method Detail
-
getToken
public String getToken()
- Specified by:
getTokenin interfaceAuthenticationResponseWithError
-
getInstanceUrl
public String getInstanceUrl()
-
getTokenType
public String getTokenType()
-
getExpiresIn
public int getExpiresIn()
-
getErrorCode
public String getErrorCode()
- Specified by:
getErrorCodein interfaceAuthenticationResponseWithError
-
getErrorDescription
public String getErrorDescription()
- Specified by:
getErrorDescriptionin interfaceAuthenticationResponseWithError
-
setToken
public void setToken(String token)
-
setInstanceUrl
public void setInstanceUrl(String instanceUrl)
-
setTokenType
public void setTokenType(String tokenType)
-
setExpiresIn
public void setExpiresIn(int expiresIn)
-
setErrorCode
public void setErrorCode(String errorCode)
-
setErrorDescription
public void setErrorDescription(String errorDescription)
-
canEqual
protected boolean canEqual(Object other)
-
-