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, toJsonString
public Long getTotalNum()
public void setTotalNum(Long TotalNum)
TotalNum
- Total number of policiespublic StrategyInfo[] getList()
public void setList(StrategyInfo[] List)
List
- Policy array. Each item in the array has the fields `policyId`, `policyName`, `addTime`, `type`, `description`, and `createMode`
`policyId`: Policy ID
`policyName`: Policy name
`addTime`: Time policy created
`type`: 1 is custom policy; 2 is 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.public 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 © 2019. All rights reserved.