Class CreatedApiKey

java.lang.Object
dev.dosya.sdk.model.CreatedApiKey

public final class CreatedApiKey extends Object
Represents a newly created API key, including the plain-text key value.

The plain-text key is only available at creation time and cannot be retrieved afterwards.

Since:
0.1.0
  • Method Details

    • getId

      @NotNull public @NotNull String getId()
    • getName

      @NotNull public @NotNull String getName()
    • getScope

      @Nullable public @Nullable String getScope()
    • getPlainKey

      @NotNull public @NotNull String getPlainKey()
    • getExpiresAt

      @Nullable public @Nullable Long getExpiresAt()
    • getCreatedAt

      public long getCreatedAt()
    • toString

      public String toString()
      Overrides:
      toString in class Object