Class AiApiKeyWithValue

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

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

  • Constructor Details

  • Method Details

    • getUpdatedAt

      @Nullable public OffsetDateTime getUpdatedAt()
      Last update timestamp
      Returns:
      updatedAt
    • name

      public AiApiKeyWithValue 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 AiApiKeyWithValue 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)
    • getId

      @Nullable public UUID getId()
      AI API key ID
      Returns:
      id
    • getOrgUuid

      @Nullable public UUID getOrgUuid()
      Organization UUID that owns this key
      Returns:
      orgUuid
    • getCreatedAt

      @Nullable public OffsetDateTime getCreatedAt()
      Creation timestamp
      Returns:
      createdAt
    • value

      public AiApiKeyWithValue value(String value)
    • getValue

      @Nonnull public String getValue()
      Plaintext AI API key value (returned only on create/rotate)
      Returns:
      value
    • setValue

      public void setValue(String value)
    • equals

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