Class AccessTokenResponse

java.lang.Object
org.sourcelab.buildkite.api.client.response.AccessTokenResponse

public class AccessTokenResponse extends Object
Represents response from the AccessToken API Endpoint.
See Also:
  • Constructor Details

    • AccessTokenResponse

      public AccessTokenResponse(String uuid, List<String> scopes)
      Constructor.
      Parameters:
      uuid - UUID value.
      scopes - Scopes value.
  • Method Details

    • getUuid

      public String getUuid()
      The UUID value associated with the current access token.
      Returns:
      The UUID value associated with the current access token.
    • getScopes

      public List<String> getScopes()
      Scopes associated with the current access token.
      Returns:
      Scopes associated with the current access token.
    • toString

      public String toString()
      Overrides:
      toString in class Object