Class RestAccessToken

java.lang.Object
com.atlassian.bamboo.rest.model.AbstractRestModel
com.atlassian.bamboo.rest.model.admin.user.RestAccessToken

public class RestAccessToken extends AbstractRestModel
  • Constructor Details

    • RestAccessToken

      public RestAccessToken(@NotNull @NotNull String tokenId, @NotNull @NotNull String tokenName, @NotNull @NotNull Iterable<String> permissions, @NotNull @NotNull Date creationDate, @Nullable @Nullable String rawToken, @Nullable @Nullable Integer daysUntilExpiry)
    • RestAccessToken

      public RestAccessToken(Map<String,Object> json)
  • Method Details

    • getTokenId

      public String getTokenId()
    • getName

      public String getName()
    • getPermissions

      public List<String> getPermissions()
    • getCreationDate

      public Date getCreationDate()
    • getRawToken

      public String getRawToken()
    • getDaysUntilExpiry

      public Integer getDaysUntilExpiry()
    • toString

      public String toString()
      Overrides:
      toString in class Object