Class: TencentCloud::Cam::V20190116::AttachRolePolicyRequest
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cam::V20190116::AttachRolePolicyRequest
- Defined in:
- lib/v20190116/models.rb
Overview
AttachRolePolicy请求参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(policyid = nil, attachroleid = nil, attachrolename = nil, policyname = nil) ⇒ AttachRolePolicyRequest
constructor
A new instance of AttachRolePolicyRequest.
Constructor Details
#initialize(policyid = nil, attachroleid = nil, attachrolename = nil, policyname = nil) ⇒ AttachRolePolicyRequest
Returns a new instance of AttachRolePolicyRequest.
359 360 361 362 363 364 |
# File 'lib/v20190116/models.rb', line 359 def initialize(policyid=nil, attachroleid=nil, attachrolename=nil, policyname=nil) @PolicyId = policyid @AttachRoleId = attachroleid @AttachRoleName = attachrolename @PolicyName = policyname end |
Instance Attribute Details
#AttachRoleId ⇒ Object
357 358 359 |
# File 'lib/v20190116/models.rb', line 357 def AttachRoleId @AttachRoleId end |
#AttachRoleName ⇒ Object
357 358 359 |
# File 'lib/v20190116/models.rb', line 357 def AttachRoleName @AttachRoleName end |
#PolicyId ⇒ Object
357 358 359 |
# File 'lib/v20190116/models.rb', line 357 def PolicyId @PolicyId end |
#PolicyName ⇒ Object
357 358 359 |
# File 'lib/v20190116/models.rb', line 357 def PolicyName @PolicyName end |
Instance Method Details
#deserialize(params) ⇒ Object
366 367 368 369 370 371 |
# File 'lib/v20190116/models.rb', line 366 def deserialize(params) @PolicyId = params['PolicyId'] @AttachRoleId = params['AttachRoleId'] @AttachRoleName = params['AttachRoleName'] @PolicyName = params['PolicyName'] end |