Class: TencentCloud::Cam::V20190116::AttachUserPolicyRequest

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

Overview

AttachUserPolicy请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(policyid = nil, attachuin = nil) ⇒ AttachUserPolicyRequest

Returns a new instance of AttachUserPolicyRequest.



399
400
401
402
# File 'lib/v20190116/models.rb', line 399

def initialize(policyid=nil, attachuin=nil)
  @PolicyId = policyid
  @AttachUin = attachuin
end

Instance Attribute Details

#AttachUinObject

Parameters:

  • PolicyId:

    策略 id

  • AttachUin:

    子账号 uin



397
398
399
# File 'lib/v20190116/models.rb', line 397

def AttachUin
  @AttachUin
end

#PolicyIdObject

Parameters:

  • PolicyId:

    策略 id

  • AttachUin:

    子账号 uin



397
398
399
# File 'lib/v20190116/models.rb', line 397

def PolicyId
  @PolicyId
end

Instance Method Details

#deserialize(params) ⇒ Object



404
405
406
407
# File 'lib/v20190116/models.rb', line 404

def deserialize(params)
  @PolicyId = params['PolicyId']
  @AttachUin = params['AttachUin']
end