Package com.symphony.bdk.gen.api.model
Class Token
java.lang.Object
com.symphony.bdk.gen.api.model.Token
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2023-06-21T12:31:58.948396640Z[Etc/UTC]")
public class Token
extends Object
Token
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionauthorizationToken
(String authorizationToken) boolean
Return true if this Token object is equal to o.(Beta) Short lived access token built from a user session.getName()
The name of the header in which the token should be presented on subsequent API calls.getToken()
Authentication token that should be passed as header in each API rest calls.int
hashCode()
void
setAuthorizationToken
(String authorizationToken) void
void
toString()
-
Field Details
-
JSON_PROPERTY_NAME
- See Also:
-
JSON_PROPERTY_TOKEN
- See Also:
-
JSON_PROPERTY_AUTHORIZATION_TOKEN
- See Also:
-
-
Constructor Details
-
Token
public Token()
-
-
Method Details
-
name
-
getName
The name of the header in which the token should be presented on subsequent API calls.- Returns:
- name
-
setName
-
token
-
getToken
Authentication token that should be passed as header in each API rest calls. This should be considered opaque data by the client. It is not intended to contain any data interpretable by the client. The format is secret and subject to change without notice.- Returns:
- token
-
setToken
-
authorizationToken
-
getAuthorizationToken
(Beta) Short lived access token built from a user session. This field is still on Beta, please continue using the returned \"token\" instead.- Returns:
- authorizationToken
-
setAuthorizationToken
-
equals
Return true if this Token object is equal to o. -
hashCode
public int hashCode() -
toString
-