Package com.exoscale.sdk.model
Class CreateApiKeyRequest
- java.lang.Object
-
- com.exoscale.sdk.model.CreateApiKeyRequest
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", comments="Generator version: 7.4.0") public class CreateApiKeyRequest extends Object
CreateApiKeyRequest
-
-
Field Summary
Fields Modifier and Type Field Description static String
JSON_PROPERTY_NAME
static String
JSON_PROPERTY_ROLE_ID
-
Constructor Summary
Constructors Constructor Description CreateApiKeyRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
Return true if this create_api_key_request object is equal to o.String
getName()
IAM API Key NameUUID
getRoleId()
IAM API Key Role IDint
hashCode()
CreateApiKeyRequest
name(String name)
CreateApiKeyRequest
roleId(UUID roleId)
void
setName(String name)
void
setRoleId(UUID roleId)
String
toString()
String
toUrlQueryString()
Convert the instance into URL query string.String
toUrlQueryString(String prefix)
Convert the instance into URL query string.
-
-
-
Field Detail
-
JSON_PROPERTY_ROLE_ID
public static final String JSON_PROPERTY_ROLE_ID
- See Also:
- Constant Field Values
-
JSON_PROPERTY_NAME
public static final String JSON_PROPERTY_NAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
roleId
public CreateApiKeyRequest roleId(UUID roleId)
-
getRoleId
@Nonnull public UUID getRoleId()
IAM API Key Role ID- Returns:
- roleId
-
setRoleId
public void setRoleId(UUID roleId)
-
name
public CreateApiKeyRequest name(String name)
-
getName
@Nonnull public String getName()
IAM API Key Name- Returns:
- name
-
setName
public void setName(String name)
-
equals
public boolean equals(Object o)
Return true if this create_api_key_request object is equal to o.
-
toUrlQueryString
public String toUrlQueryString()
Convert the instance into URL query string.- Returns:
- URL query string
-
-