public class ModifyImageSharePermissionRequest extends AbstractModel
Constructor and Description |
---|
ModifyImageSharePermissionRequest() |
ModifyImageSharePermissionRequest(ModifyImageSharePermissionRequest 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 |
---|---|
String[] |
getAccountIds()
Get List of account IDs with which an image is shared.
|
String |
getImageId()
Get Image ID such as `img-gvbnzy6f`.
|
String |
getPermission()
Get Operations.
|
void |
setAccountIds(String[] AccountIds)
Set List of account IDs with which an image is shared.
|
void |
setImageId(String ImageId)
Set Image ID such as `img-gvbnzy6f`.
|
void |
setPermission(String Permission)
Set Operations.
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, getMultipartRequestParams, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, toJsonString
public ModifyImageSharePermissionRequest()
public ModifyImageSharePermissionRequest(ModifyImageSharePermissionRequest source)
public String getImageId()
public void setImageId(String ImageId)
ImageId
- Image ID such as `img-gvbnzy6f`. You can obtain the image IDs in two ways: public String[] getAccountIds()
public void setAccountIds(String[] AccountIds)
AccountIds
- List of account IDs with which an image is shared. For the format of array-type parameters, see [API Introduction](https://intl.cloud.tencent.com/document/api/213/568?from_cn_redirect=1). The account ID is different from the QQ number. You can find the account ID in [Account Information](https://console.cloud.tencent.com/developer).public String getPermission()
public void setPermission(String Permission)
Permission
- Operations. Valid values: `SHARE`, sharing an image; `CANCEL`, cancelling an image sharing.Copyright © 2021. All rights reserved.