Class UpdateAiApiKeyRequest

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

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", comments="Generator version: 7.4.0") public class UpdateAiApiKeyRequest extends Object
Request to update an AI API key (at least one property required)
  • Field Details

  • Constructor Details

    • UpdateAiApiKeyRequest

      public UpdateAiApiKeyRequest()
  • Method Details

    • name

      public UpdateAiApiKeyRequest name(String name)
    • getName

      @Nullable public String getName()
      Human-readable name for the AI API key
      Returns:
      name
    • setName

      public void setName(String name)
    • scope

      public UpdateAiApiKeyRequest scope(String scope)
    • getScope

      @Nullable public String getScope()
      Key scope: 'public' for all deployments, or a specific deployment UUID
      Returns:
      scope
    • setScope

      public void setScope(String scope)
    • equals

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