Class: TencentCloud::Cam::V20190116::DetachRolePolicyRequest
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cam::V20190116::DetachRolePolicyRequest
- Defined in:
- lib/v20190116/models.rb
Overview
DetachRolePolicy请求参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(policyid = nil, detachroleid = nil, detachrolename = nil, policyname = nil) ⇒ DetachRolePolicyRequest
constructor
A new instance of DetachRolePolicyRequest.
Constructor Details
#initialize(policyid = nil, detachroleid = nil, detachrolename = nil, policyname = nil) ⇒ DetachRolePolicyRequest
Returns a new instance of DetachRolePolicyRequest.
2100 2101 2102 2103 2104 2105 |
# File 'lib/v20190116/models.rb', line 2100 def initialize(policyid=nil, detachroleid=nil, detachrolename=nil, policyname=nil) @PolicyId = policyid @DetachRoleId = detachroleid @DetachRoleName = detachrolename @PolicyName = policyname end |
Instance Attribute Details
#DetachRoleId ⇒ Object
2098 2099 2100 |
# File 'lib/v20190116/models.rb', line 2098 def DetachRoleId @DetachRoleId end |
#DetachRoleName ⇒ Object
2098 2099 2100 |
# File 'lib/v20190116/models.rb', line 2098 def DetachRoleName @DetachRoleName end |
#PolicyId ⇒ Object
2098 2099 2100 |
# File 'lib/v20190116/models.rb', line 2098 def PolicyId @PolicyId end |
#PolicyName ⇒ Object
2098 2099 2100 |
# File 'lib/v20190116/models.rb', line 2098 def PolicyName @PolicyName end |
Instance Method Details
#deserialize(params) ⇒ Object
2107 2108 2109 2110 2111 2112 |
# File 'lib/v20190116/models.rb', line 2107 def deserialize(params) @PolicyId = params['PolicyId'] @DetachRoleId = params['DetachRoleId'] @DetachRoleName = params['DetachRoleName'] @PolicyName = params['PolicyName'] end |