public class ListPoliciesResponse extends AbstractModel
| Constructor and Description | 
|---|
| ListPoliciesResponse() | 
| Modifier and Type | Method and Description | 
|---|---|
| StrategyInfo[] | getList()Get Policy array. | 
| String | getRequestId()Get The unique request ID, which is returned for each request. | 
| String[] | getServiceTypeList()Get Reserved field
Note: This field may return null, indicating that no valid value was found. | 
| Long | getTotalNum()Get Total number of policies | 
| void | setList(StrategyInfo[] List)Set Policy array. | 
| void | setRequestId(String RequestId)Set The unique request ID, which is returned for each request. | 
| void | setServiceTypeList(String[] ServiceTypeList)Set Reserved field
Note: This field may return null, indicating that no valid value was found. | 
| void | setTotalNum(Long TotalNum)Set Total number of policies | 
| 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, toJsonStringpublic Long getTotalNum()
public void setTotalNum(Long TotalNum)
TotalNum - Total number of policiespublic StrategyInfo[] getList()
public void setList(StrategyInfo[] List)
List - Policy array. Each array contains fields including `policyId`, `policyName`, `addTime`, `type`, `description`, and `createMode`. 
policyId: policy ID 
policyName: policy name
addTime: policy creation time
type: 1: custom policy, 2: preset policy 
description: policy description 
createMode: 1 indicates a policy created based on business permissions, while other values indicate that the policy syntax can be viewed and the policy can be updated using the policy syntax
Attachments: number of associated users
ServiceType: the product the policy is associated with
IsAttached: this value should not be null when querying if a marked entity has been associated with a policy. 0 indicates that no policy has been associated, and 1 indicates that a policy has been associatedpublic String[] getServiceTypeList()
public void setServiceTypeList(String[] ServiceTypeList)
ServiceTypeList - Reserved field
Note: This field may return null, indicating that no valid value was found.public String getRequestId()
public void setRequestId(String RequestId)
RequestId - The unique request ID, which is returned for each request. RequestId is required for locating a problem.Copyright © 2021. All rights reserved.