Package com.exoscale.sdk.model
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 Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturn true if this update-ai-api-key-request object is equal to o.getName()Human-readable name for the AI API keygetScope()Key scope: 'public' for all deployments, or a specific deployment UUIDinthashCode()voidvoidtoString()Convert the instance into URL query string.toUrlQueryString(String prefix) Convert the instance into URL query string.
-
Field Details
-
JSON_PROPERTY_NAME
- See Also:
-
JSON_PROPERTY_SCOPE
- See Also:
-
-
Constructor Details
-
UpdateAiApiKeyRequest
public UpdateAiApiKeyRequest()
-
-
Method Details
-
name
-
getName
Human-readable name for the AI API key- Returns:
- name
-
setName
-
scope
-
getScope
Key scope: 'public' for all deployments, or a specific deployment UUID- Returns:
- scope
-
setScope
-
equals
Return true if this update-ai-api-key-request 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
-