lib/v20230418/models.rb in tencentcloud-sdk-bh-3.0.971 vs lib/v20230418/models.rb in tencentcloud-sdk-bh-3.0.972
- old
+ new
@@ -1685,25 +1685,28 @@
# @type AuthorizedDeviceIdSet: Array
# @param Status: 访问权限状态,1 - 已生效,2 - 未生效,3 - 已过期
# @type Status: Integer
# @param DepartmentId: 部门ID,用于过滤属于某个部门的访问权限
# @type DepartmentId: String
+ # @param ExactAccount: 是否根据AuthorizedDeviceIdSet,对资产账号进行精确匹配,默认false, 设置true时,确保AuthorizedDeviceIdSet只有一个元素
+ # @type ExactAccount: Boolean
# @param Filters: 过滤数组
# @type Filters: Array
- attr_accessor :IdSet, :Name, :Offset, :Limit, :Exact, :AuthorizedUserIdSet, :AuthorizedDeviceIdSet, :Status, :DepartmentId, :Filters
+ attr_accessor :IdSet, :Name, :Offset, :Limit, :Exact, :AuthorizedUserIdSet, :AuthorizedDeviceIdSet, :Status, :DepartmentId, :ExactAccount, :Filters
- def initialize(idset=nil, name=nil, offset=nil, limit=nil, exact=nil, authorizeduseridset=nil, authorizeddeviceidset=nil, status=nil, departmentid=nil, filters=nil)
+ def initialize(idset=nil, name=nil, offset=nil, limit=nil, exact=nil, authorizeduseridset=nil, authorizeddeviceidset=nil, status=nil, departmentid=nil, exactaccount=nil, filters=nil)
@IdSet = idset
@Name = name
@Offset = offset
@Limit = limit
@Exact = exact
@AuthorizedUserIdSet = authorizeduseridset
@AuthorizedDeviceIdSet = authorizeddeviceidset
@Status = status
@DepartmentId = departmentid
+ @ExactAccount = exactaccount
@Filters = filters
end
def deserialize(params)
@IdSet = params['IdSet']
@@ -1713,9 +1716,10 @@
@Exact = params['Exact']
@AuthorizedUserIdSet = params['AuthorizedUserIdSet']
@AuthorizedDeviceIdSet = params['AuthorizedDeviceIdSet']
@Status = params['Status']
@DepartmentId = params['DepartmentId']
+ @ExactAccount = params['ExactAccount']
unless params['Filters'].nil?
@Filters = []
params['Filters'].each do |i|
filter_tmp = Filter.new
filter_tmp.deserialize(i)