Class CreateTokenResponse

java.lang.Object
com.dtsx.astra.sdk.org.domain.CreateTokenResponse
All Implemented Interfaces:
Serializable

public class CreateTokenResponse extends Object implements Serializable
Wrapper for token creation.
Author:
Cedrick LUNVEN (@clunven)
See Also:
  • Constructor Details

    • CreateTokenResponse

      public CreateTokenResponse()
  • Method Details

    • getClientId

      public String getClientId()
      Getter accessor for attribute 'clientId'.
      Returns:
      current value of 'clientId'
    • setClientId

      public void setClientId(String clientId)
      Setter accessor for attribute 'clientId'.
      Parameters:
      clientId - new value for 'clientId '
    • getRoles

      public List<String> getRoles()
      Getter accessor for attribute 'roles'.
      Returns:
      current value of 'roles'
    • setRoles

      public void setRoles(List<String> roles)
      Setter accessor for attribute 'roles'.
      Parameters:
      roles - new value for 'roles '
    • getOrgId

      public String getOrgId()
      Getter accessor for attribute 'orgId'.
      Returns:
      current value of 'orgId'
    • setOrgId

      public void setOrgId(String orgId)
      Setter accessor for attribute 'orgId'.
      Parameters:
      orgId - new value for 'orgId '
    • getSecret

      public String getSecret()
      Getter accessor for attribute 'secret'.
      Returns:
      current value of 'secret'
    • setSecret

      public void setSecret(String secret)
      Setter accessor for attribute 'secret'.
      Parameters:
      secret - new value for 'secret '
    • getToken

      public String getToken()
      Getter accessor for attribute 'token'.
      Returns:
      current value of 'token'
    • setToken

      public void setToken(String token)
      Setter accessor for attribute 'token'.
      Parameters:
      token - new value for 'token '
    • getGeneratedOn

      public String getGeneratedOn()
      Getter accessor for attribute 'generatedOn'.
      Returns:
      current value of 'generatedOn'
    • setGeneratedOn

      public void setGeneratedOn(String generatedOn)
      Setter accessor for attribute 'generatedOn'.
      Parameters:
      generatedOn - new value for 'generatedOn '