com.dtsx.astra.sdk.org.domain.IamToken Maven / Gradle / Ivy
package com.dtsx.astra.sdk.org.domain;
import java.util.List;
/**
* Token used to work with Astra.
*/
public class IamToken {
/** client id. */
private String clientId;
/** roles list. */
private List roles;
/** generated date. */
private String generatedOn;
/**
* Default constructor.
*/
public IamToken() {}
/**
* Getter accessor for attribute 'clientId'.
*
* @return
* current value of 'clientId'
*/
public String getClientId() {
return clientId;
}
/**
* Setter accessor for attribute 'clientId'.
* @param clientId
* new value for 'clientId '
*/
public void setClientId(String clientId) {
this.clientId = clientId;
}
/**
* Getter accessor for attribute 'roles'.
*
* @return
* current value of 'roles'
*/
public List getRoles() {
return roles;
}
/**
* Setter accessor for attribute 'roles'.
* @param roles
* new value for 'roles '
*/
public void setRoles(List roles) {
this.roles = roles;
}
/**
* Getter accessor for attribute 'generatedOn'.
*
* @return
* current value of 'generatedOn'
*/
public String getGeneratedOn() {
return generatedOn;
}
/**
* Setter accessor for attribute 'generatedOn'.
* @param generatedOn
* new value for 'generatedOn '
*/
public void setGeneratedOn(String generatedOn) {
this.generatedOn = generatedOn;
}
}