Class DescribePolicyResponse
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.trro.v20220325.models.DescribePolicyResponse
-
public class DescribePolicyResponse extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor Description DescribePolicyResponse()
DescribePolicyResponse(DescribePolicyResponse 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.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Long
getNum()
Get 本次返回的权限信息数量Boolean
getPolicyEnabled()
Get 返回的权限模式是否为当前生效的权限模式PolicyInfo[]
getPolicyInfo()
Get 权限信息列表String
getPolicyMode()
Get 权限模式String
getRequestId()
Get 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。Long
getTotal()
Get 权限信息总数void
setNum(Long Num)
Set 本次返回的权限信息数量void
setPolicyEnabled(Boolean PolicyEnabled)
Set 返回的权限模式是否为当前生效的权限模式void
setPolicyInfo(PolicyInfo[] PolicyInfo)
Set 权限信息列表void
setPolicyMode(String PolicyMode)
Set 权限模式void
setRequestId(String RequestId)
Set 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。void
setTotal(Long Total)
Set 权限信息总数void
toMap(HashMap<String,String> map, String prefix)
Internal implementation, normal users should not use it.-
Methods inherited from class com.tencentcloudapi.common.AbstractModel
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
-
-
-
-
Constructor Detail
-
DescribePolicyResponse
public DescribePolicyResponse()
-
DescribePolicyResponse
public DescribePolicyResponse(DescribePolicyResponse 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.
-
-
Method Detail
-
getPolicyMode
public String getPolicyMode()
Get 权限模式- Returns:
- PolicyMode 权限模式
-
setPolicyMode
public void setPolicyMode(String PolicyMode)
Set 权限模式- Parameters:
PolicyMode
- 权限模式
-
getPolicyEnabled
public Boolean getPolicyEnabled()
Get 返回的权限模式是否为当前生效的权限模式- Returns:
- PolicyEnabled 返回的权限模式是否为当前生效的权限模式
-
setPolicyEnabled
public void setPolicyEnabled(Boolean PolicyEnabled)
Set 返回的权限模式是否为当前生效的权限模式- Parameters:
PolicyEnabled
- 返回的权限模式是否为当前生效的权限模式
-
getPolicyInfo
public PolicyInfo[] getPolicyInfo()
Get 权限信息列表- Returns:
- PolicyInfo 权限信息列表
-
setPolicyInfo
public void setPolicyInfo(PolicyInfo[] PolicyInfo)
Set 权限信息列表- Parameters:
PolicyInfo
- 权限信息列表
-
getNum
public Long getNum()
Get 本次返回的权限信息数量- Returns:
- Num 本次返回的权限信息数量
-
setNum
public void setNum(Long Num)
Set 本次返回的权限信息数量- Parameters:
Num
- 本次返回的权限信息数量
-
getTotal
public Long getTotal()
Get 权限信息总数- Returns:
- Total 权限信息总数
-
setTotal
public void setTotal(Long Total)
Set 权限信息总数- Parameters:
Total
- 权限信息总数
-
getRequestId
public String getRequestId()
Get 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。- Returns:
- RequestId 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
-
setRequestId
public void setRequestId(String RequestId)
Set 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。- Parameters:
RequestId
- 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
-
-