Package com.exoscale.sdk.model
Class CreateAiApiKeyRequest
java.lang.Object
com.exoscale.sdk.model.CreateAiApiKeyRequest
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
comments="Generator version: 7.4.0")
public class CreateAiApiKeyRequest
extends Object
Request to create a new AI API key
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturn true if this create-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
-
CreateAiApiKeyRequest
public CreateAiApiKeyRequest()
-
-
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 create-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
-