Package com.symphony.api.model
Class Token
- java.lang.Object
-
- com.symphony.api.model.Token
-
public class Token extends Object
-
-
Constructor Summary
Constructors Constructor Description Token()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getName()
The name of the header in which the token should be presented on subsequent API calls.String
getToken()
The token which should be passed.Token
name(String name)
void
setName(String name)
void
setToken(String token)
Token
token(String token)
String
toString()
-
-
-
Method Detail
-
getName
public String getName()
The name of the header in which the token should be presented on subsequent API calls.- Returns:
- name
-
setName
public void setName(String name)
-
getToken
public String getToken()
The token which should be passed. 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
public void setToken(String token)
-
-