public class AttachedUserPolicy extends AbstractModel
header, skipSign| Constructor and Description | 
|---|
| AttachedUserPolicy() | 
| AttachedUserPolicy(AttachedUserPolicy 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 | getAddTime()Get Creation time. | 
| String | getCreateMode()Get Creation mode (`1`: create by product feature or project permission; other values: create by policy syntax). | 
| Long | getDeactived()Get Whether the product has been deprecated (`0`: no; `1`: yes). | 
| String[] | getDeactivedDetail()Get List of deprecated products. | 
| String | getDescription()Get Policy description. | 
| AttachedUserPolicyGroupInfo[] | getGroups()Get Information on policies inherited from the user group. | 
| String | getPolicyId()Get Policy ID. | 
| String | getPolicyName()Get Policy name. | 
| String | getStrategyType()Get Policy type (`1`: custom policy; `2`: preset policy). | 
| void | setAddTime(String AddTime)Set Creation time. | 
| void | setCreateMode(String CreateMode)Set Creation mode (`1`: create by product feature or project permission; other values: create by policy syntax). | 
| void | setDeactived(Long Deactived)Set Whether the product has been deprecated (`0`: no; `1`: yes). | 
| void | setDeactivedDetail(String[] DeactivedDetail)Set List of deprecated products. | 
| void | setDescription(String Description)Set Policy description. | 
| void | setGroups(AttachedUserPolicyGroupInfo[] Groups)Set Information on policies inherited from the user group. | 
| void | setPolicyId(String PolicyId)Set Policy ID. | 
| void | setPolicyName(String PolicyName)Set Policy name. | 
| void | setStrategyType(String StrategyType)Set Policy type (`1`: custom policy; `2`: preset policy). | 
| void | toMap(HashMap<String,String> map,
     String prefix)Internal implementation, normal users should not use it. | 
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, isStream, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonStringpublic AttachedUserPolicy()
public AttachedUserPolicy(AttachedUserPolicy source)
public String getPolicyId()
public void setPolicyId(String PolicyId)
PolicyId - Policy ID.public String getPolicyName()
public void setPolicyName(String PolicyName)
PolicyName - Policy name.public String getDescription()
public void setDescription(String Description)
Description - Policy description.public String getAddTime()
public void setAddTime(String AddTime)
AddTime - Creation time.public String getStrategyType()
public void setStrategyType(String StrategyType)
StrategyType - Policy type (`1`: custom policy; `2`: preset policy).public String getCreateMode()
public void setCreateMode(String CreateMode)
CreateMode - Creation mode (`1`: create by product feature or project permission; other values: create by policy syntax).public AttachedUserPolicyGroupInfo[] getGroups()
public void setGroups(AttachedUserPolicyGroupInfo[] Groups)
Groups - Information on policies inherited from the user group.
Note: this field may return `null`, indicating that no valid values can be obtained.public Long getDeactived()
public void setDeactived(Long Deactived)
Deactived - Whether the product has been deprecated (`0`: no; `1`: yes).
Note: this field may return `null`, indicating that no valid values can be obtained.public String[] getDeactivedDetail()
public void setDeactivedDetail(String[] DeactivedDetail)
DeactivedDetail - List of deprecated products.
Note: this field may return `null`, indicating that no valid values can be obtained.Copyright © 2025. All rights reserved.