Package com.exoscale.sdk.model
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 Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionCreateAiApiKeyResponse(OffsetDateTime updatedAt, UUID id, Object revokedAt, OffsetDateTime createdAt) -
Method Summary
Modifier and TypeMethodDescriptionaddDeploymentsItem(AiApiKeyDeploymentRef deploymentsItem) addModelsItem(String modelsItem) allDeployments(Boolean allDeployments) deployments(Set<AiApiKeyDeploymentRef> deployments) booleanReturn true if this create-ai-api-key-response object is equal to o.True when the key has access to all deployments of the organization.True when the key has access to all public models.Get createdAtAllowlist of deployments.getId()Get idAllowlist of public model names.getName()Get nameLast update timestamporg.openapitools.jackson.nullable.JsonNullable<Object>Get updatedAtgetValue()Plaintext AI API key valueinthashCode()voidsetAllDeployments(Boolean allDeployments) voidsetAllModels(Boolean allModels) voidsetDeployments(Set<AiApiKeyDeploymentRef> deployments) voidvoidvoidtoString()Convert the instance into URL query string.toUrlQueryString(String prefix) Convert the instance into URL query string.
-
Field Details
-
JSON_PROPERTY_UPDATED_AT
- See Also:
-
JSON_PROPERTY_ALL_MODELS
- See Also:
-
JSON_PROPERTY_NAME
- See Also:
-
JSON_PROPERTY_VALUE
- See Also:
-
JSON_PROPERTY_ALL_DEPLOYMENTS
- See Also:
-
JSON_PROPERTY_DEPLOYMENTS
- See Also:
-
JSON_PROPERTY_MODELS
- See Also:
-
JSON_PROPERTY_ID
- See Also:
-
JSON_PROPERTY_REVOKED_AT
- See Also:
-
JSON_PROPERTY_CREATED_AT
- See Also:
-
-
Constructor Details
-
CreateAiApiKeyResponse
public CreateAiApiKeyResponse() -
CreateAiApiKeyResponse
public CreateAiApiKeyResponse(OffsetDateTime updatedAt, UUID id, Object revokedAt, OffsetDateTime createdAt)
-
-
Method Details
-
getUpdatedAt
Get updatedAt- Returns:
- updatedAt
-
allModels
-
getAllModels
True when the key has access to all public models.- Returns:
- allModels
-
setAllModels
-
name
-
getName
Get name- Returns:
- name
-
setName
-
value
-
getValue
Plaintext AI API key value- Returns:
- value
-
setValue
-
allDeployments
-
getAllDeployments
True when the key has access to all deployments of the organization.- Returns:
- allDeployments
-
setAllDeployments
-
deployments
-
addDeploymentsItem
-
getDeployments
Allowlist of deployments. An empty array denies access to all deployments. Grant access to all deployments with all-deployments instead.- Returns:
- deployments
-
setDeployments
-
models
-
addModelsItem
-
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
-
getId
Get id- Returns:
- id
-
getRevokedAt
Last update timestamp- Returns:
- revokedAt
-
getRevokedAt_JsonNullable
-
getCreatedAt
Get createdAt- Returns:
- createdAt
-
equals
Return true if this create-ai-api-key-response object is equal to o. -
hashCode
public int hashCode() -
toString
-
toUrlQueryString
Convert the instance into URL query string.- Returns:
- URL query string
-
toUrlQueryString
Convert the instance into URL query string.- Parameters:
prefix- prefix of the query string- Returns:
- URL query string
-