public class DeleteUserRequest extends AbstractModel
header, skipSign
Constructor and Description |
---|
DeleteUserRequest() |
DeleteUserRequest(DeleteUserRequest source)
NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy,
and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
|
Modifier and Type | Method and Description |
---|---|
Long |
getForce()
Get Whether to forcibly delete the sub-user.
|
String |
getName()
Get Sub-user username
|
void |
setForce(Long Force)
Set Whether to forcibly delete the sub-user.
|
void |
setName(String Name)
Set Sub-user username
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
public DeleteUserRequest()
public DeleteUserRequest(DeleteUserRequest source)
public String getName()
public void setName(String Name)
Name
- Sub-user usernamepublic Long getForce()
public void setForce(Long Force)
Force
- Whether to forcibly delete the sub-user. The default input parameter is `0`. `0`: do not delete the user if the user has undeleted API keys; `1`: first delete the API keys then delete the user if the user has undeleted API keys. To delete API keys, you need to have cam:DeleteApiKey permission, which enables you to delete both enabled and disabled API keys. If you do not have this permission, you will not be able to delete API keys and the user.Copyright © 2024. All rights reserved.