Class CreateAiApiKeyResponse

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

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

  • Constructor Details

    • CreateAiApiKeyResponse

      public CreateAiApiKeyResponse()
    • CreateAiApiKeyResponse

      public CreateAiApiKeyResponse(OffsetDateTime updatedAt, UUID id, Object revokedAt, OffsetDateTime createdAt)
  • Method Details

    • getUpdatedAt

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

      public CreateAiApiKeyResponse allModels(Boolean allModels)
    • getAllModels

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

      public void setAllModels(Boolean allModels)
    • name

      public CreateAiApiKeyResponse name(String name)
    • getName

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

      public void setName(String name)
    • value

      public CreateAiApiKeyResponse value(String value)
    • getValue

      @Nonnull public String getValue()
      Plaintext AI API key value
      Returns:
      value
    • setValue

      public void setValue(String value)
    • allDeployments

      public CreateAiApiKeyResponse allDeployments(Boolean allDeployments)
    • getAllDeployments

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

      public void setAllDeployments(Boolean allDeployments)
    • deployments

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

      public CreateAiApiKeyResponse 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 CreateAiApiKeyResponse models(Set<String> models)
    • addModelsItem

      public CreateAiApiKeyResponse 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()
      Last update timestamp
      Returns:
      revokedAt
    • getRevokedAt_JsonNullable

      public org.openapitools.jackson.nullable.JsonNullable<Object> getRevokedAt_JsonNullable()
    • getCreatedAt

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

      public boolean equals(Object o)
      Return true if this create-ai-api-key-response 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