Class ListAiApiKeysResponseEntry

java.lang.Object
com.exoscale.sdk.model.ListAiApiKeysResponseEntry

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", comments="Generator version: 7.4.0") public class ListAiApiKeysResponseEntry extends Object
AI API key list entry
  • Field Details

  • Constructor Details

  • Method Details

    • getUpdatedAt

      @Nonnull public OffsetDateTime getUpdatedAt()
      Get updatedAt
      Returns:
      updatedAt
    • getAllModels

      @Nonnull public Boolean getAllModels()
      True when the key has access to all public models.
      Returns:
      allModels
    • name

      public ListAiApiKeysResponseEntry name(String name)
    • getName

      @Nonnull public String getName()
      Get name
      Returns:
      name
    • setName

      public void setName(String name)
    • getAllDeployments

      @Nonnull public Boolean getAllDeployments()
      True when the key has access to all deployments of the organization.
      Returns:
      allDeployments
    • deployments

      public ListAiApiKeysResponseEntry deployments(Set<AiApiKeyDeploymentRef> deployments)
    • addDeploymentsItem

      public ListAiApiKeysResponseEntry addDeploymentsItem(AiApiKeyDeploymentRef deploymentsItem)
    • getDeployments

      @Nonnull public Set<AiApiKeyDeploymentRef> getDeployments()
      Allowlist of deployments. An empty array denies access to all deployments. Grant access to all deployments with all-deployments instead.
      Returns:
      deployments
    • setDeployments

      public void setDeployments(Set<AiApiKeyDeploymentRef> deployments)
    • models

      public ListAiApiKeysResponseEntry models(Set<String> models)
    • addModelsItem

      public ListAiApiKeysResponseEntry addModelsItem(String modelsItem)
    • getModels

      @Nonnull public Set<String> getModels()
      Allowlist of public model names. An empty array denies access to all public models. Grant access to all public models with all-models instead.
      Returns:
      models
    • setModels

      public void setModels(Set<String> models)
    • getId

      @Nonnull public UUID getId()
      Get id
      Returns:
      id
    • getRevokedAt

      @Nullable public Object getRevokedAt()
      Revocation timestamp. Null when the API key is active.
      Returns:
      revokedAt
    • getCreatedAt

      @Nonnull public OffsetDateTime getCreatedAt()
      Get createdAt
      Returns:
      createdAt
    • equals

      public boolean equals(Object o)
      Return true if this list-ai-api-keys-response-entry object is equal to o.
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • toUrlQueryString

      public String toUrlQueryString()
      Convert the instance into URL query string.
      Returns:
      URL query string
    • toUrlQueryString

      public String toUrlQueryString(String prefix)
      Convert the instance into URL query string.
      Parameters:
      prefix - prefix of the query string
      Returns:
      URL query string