Class DescribePolicyRequest
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.trro.v20220325.models.DescribePolicyRequest
-
public class DescribePolicyRequest extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor Description DescribePolicyRequest()DescribePolicyRequest(DescribePolicyRequest 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 LonggetPageNumber()Get 当前页码,不填默认为1(首页)LonggetPageSize()Get 每页返回的最大数量,不填默认为10StringgetPolicyMode()Get 查看的权限模式,black为黑名单,white为白名单,不填默认为当前项目生效的权限模式StringgetProjectId()Get 查看权限的项目IDStringgetSearchMode()Get 模糊匹配模式,remoteMatch为远端设备ID匹配,fieldMatch为现场ID匹配,不填默认为remoteMatchStringgetSearchWords()Get 模糊匹配关键字,不填默认不进行模糊匹配voidsetPageNumber(Long PageNumber)Set 当前页码,不填默认为1(首页)voidsetPageSize(Long PageSize)Set 每页返回的最大数量,不填默认为10voidsetPolicyMode(String PolicyMode)Set 查看的权限模式,black为黑名单,white为白名单,不填默认为当前项目生效的权限模式voidsetProjectId(String ProjectId)Set 查看权限的项目IDvoidsetSearchMode(String SearchMode)Set 模糊匹配模式,remoteMatch为远端设备ID匹配,fieldMatch为现场ID匹配,不填默认为remoteMatchvoidsetSearchWords(String SearchWords)Set 模糊匹配关键字,不填默认不进行模糊匹配voidtoMap(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
-
DescribePolicyRequest
public DescribePolicyRequest()
-
DescribePolicyRequest
public DescribePolicyRequest(DescribePolicyRequest 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
-
getProjectId
public String getProjectId()
Get 查看权限的项目ID- Returns:
- ProjectId 查看权限的项目ID
-
setProjectId
public void setProjectId(String ProjectId)
Set 查看权限的项目ID- Parameters:
ProjectId- 查看权限的项目ID
-
getPolicyMode
public String getPolicyMode()
Get 查看的权限模式,black为黑名单,white为白名单,不填默认为当前项目生效的权限模式- Returns:
- PolicyMode 查看的权限模式,black为黑名单,white为白名单,不填默认为当前项目生效的权限模式
-
setPolicyMode
public void setPolicyMode(String PolicyMode)
Set 查看的权限模式,black为黑名单,white为白名单,不填默认为当前项目生效的权限模式- Parameters:
PolicyMode- 查看的权限模式,black为黑名单,white为白名单,不填默认为当前项目生效的权限模式
-
getSearchMode
public String getSearchMode()
Get 模糊匹配模式,remoteMatch为远端设备ID匹配,fieldMatch为现场ID匹配,不填默认为remoteMatch- Returns:
- SearchMode 模糊匹配模式,remoteMatch为远端设备ID匹配,fieldMatch为现场ID匹配,不填默认为remoteMatch
-
setSearchMode
public void setSearchMode(String SearchMode)
Set 模糊匹配模式,remoteMatch为远端设备ID匹配,fieldMatch为现场ID匹配,不填默认为remoteMatch- Parameters:
SearchMode- 模糊匹配模式,remoteMatch为远端设备ID匹配,fieldMatch为现场ID匹配,不填默认为remoteMatch
-
getSearchWords
public String getSearchWords()
Get 模糊匹配关键字,不填默认不进行模糊匹配- Returns:
- SearchWords 模糊匹配关键字,不填默认不进行模糊匹配
-
setSearchWords
public void setSearchWords(String SearchWords)
Set 模糊匹配关键字,不填默认不进行模糊匹配- Parameters:
SearchWords- 模糊匹配关键字,不填默认不进行模糊匹配
-
getPageSize
public Long getPageSize()
Get 每页返回的最大数量,不填默认为10- Returns:
- PageSize 每页返回的最大数量,不填默认为10
-
setPageSize
public void setPageSize(Long PageSize)
Set 每页返回的最大数量,不填默认为10- Parameters:
PageSize- 每页返回的最大数量,不填默认为10
-
getPageNumber
public Long getPageNumber()
Get 当前页码,不填默认为1(首页)- Returns:
- PageNumber 当前页码,不填默认为1(首页)
-
setPageNumber
public void setPageNumber(Long PageNumber)
Set 当前页码,不填默认为1(首页)- Parameters:
PageNumber- 当前页码,不填默认为1(首页)
-
-