Class: TencentCloud::Cam::V20190116::ListAttachedUserAllPoliciesRequest

Inherits:
TencentCloud::Common::AbstractModel
  • Object
show all
Defined in:
lib/v20190116/models.rb

Overview

ListAttachedUserAllPolicies请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(targetuin = nil, rp = nil, page = nil, attachtype = nil, strategytype = nil, keyword = nil) ⇒ ListAttachedUserAllPoliciesRequest

Returns a new instance of ListAttachedUserAllPoliciesRequest.



3227
3228
3229
3230
3231
3232
3233
3234
# File 'lib/v20190116/models.rb', line 3227

def initialize(targetuin=nil, rp=nil, page=nil, attachtype=nil, strategytype=nil, keyword=nil)
  @TargetUin = targetuin
  @Rp = rp
  @Page = page
  @AttachType = attachtype
  @StrategyType = strategytype
  @Keyword = keyword
end

Instance Attribute Details

#AttachTypeObject

Parameters:

  • TargetUin:

    目标用户Uin

  • Rp:

    每页数量,必须大于 0 且小于等于 200。

  • Page:

    页码,从 1开始,不能大于 200。

  • AttachType:

    关联类型。0:返回直接关联和随组关联策略,1:只返回直接关联策略,2:只返回随组关联策略。

  • StrategyType:

    策略类型。1表示自定义策略,2表示预设策略。

  • Keyword:

    搜索关键字



3225
3226
3227
# File 'lib/v20190116/models.rb', line 3225

def AttachType
  @AttachType
end

#KeywordObject

Parameters:

  • TargetUin:

    目标用户Uin

  • Rp:

    每页数量,必须大于 0 且小于等于 200。

  • Page:

    页码,从 1开始,不能大于 200。

  • AttachType:

    关联类型。0:返回直接关联和随组关联策略,1:只返回直接关联策略,2:只返回随组关联策略。

  • StrategyType:

    策略类型。1表示自定义策略,2表示预设策略。

  • Keyword:

    搜索关键字



3225
3226
3227
# File 'lib/v20190116/models.rb', line 3225

def Keyword
  @Keyword
end

#PageObject

Parameters:

  • TargetUin:

    目标用户Uin

  • Rp:

    每页数量,必须大于 0 且小于等于 200。

  • Page:

    页码,从 1开始,不能大于 200。

  • AttachType:

    关联类型。0:返回直接关联和随组关联策略,1:只返回直接关联策略,2:只返回随组关联策略。

  • StrategyType:

    策略类型。1表示自定义策略,2表示预设策略。

  • Keyword:

    搜索关键字



3225
3226
3227
# File 'lib/v20190116/models.rb', line 3225

def Page
  @Page
end

#RpObject

Parameters:

  • TargetUin:

    目标用户Uin

  • Rp:

    每页数量,必须大于 0 且小于等于 200。

  • Page:

    页码,从 1开始,不能大于 200。

  • AttachType:

    关联类型。0:返回直接关联和随组关联策略,1:只返回直接关联策略,2:只返回随组关联策略。

  • StrategyType:

    策略类型。1表示自定义策略,2表示预设策略。

  • Keyword:

    搜索关键字



3225
3226
3227
# File 'lib/v20190116/models.rb', line 3225

def Rp
  @Rp
end

#StrategyTypeObject

Parameters:

  • TargetUin:

    目标用户Uin

  • Rp:

    每页数量,必须大于 0 且小于等于 200。

  • Page:

    页码,从 1开始,不能大于 200。

  • AttachType:

    关联类型。0:返回直接关联和随组关联策略,1:只返回直接关联策略,2:只返回随组关联策略。

  • StrategyType:

    策略类型。1表示自定义策略,2表示预设策略。

  • Keyword:

    搜索关键字



3225
3226
3227
# File 'lib/v20190116/models.rb', line 3225

def StrategyType
  @StrategyType
end

#TargetUinObject

Parameters:

  • TargetUin:

    目标用户Uin

  • Rp:

    每页数量,必须大于 0 且小于等于 200。

  • Page:

    页码,从 1开始,不能大于 200。

  • AttachType:

    关联类型。0:返回直接关联和随组关联策略,1:只返回直接关联策略,2:只返回随组关联策略。

  • StrategyType:

    策略类型。1表示自定义策略,2表示预设策略。

  • Keyword:

    搜索关键字



3225
3226
3227
# File 'lib/v20190116/models.rb', line 3225

def TargetUin
  @TargetUin
end

Instance Method Details

#deserialize(params) ⇒ Object



3236
3237
3238
3239
3240
3241
3242
3243
# File 'lib/v20190116/models.rb', line 3236

def deserialize(params)
  @TargetUin = params['TargetUin']
  @Rp = params['Rp']
  @Page = params['Page']
  @AttachType = params['AttachType']
  @StrategyType = params['StrategyType']
  @Keyword = params['Keyword']
end