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.
2134 2135 2136 2137 2138 2139 |
# File 'lib/v20190116/models.rb', line 2134 def initialize(policyid=nil, detachroleid=nil, detachrolename=nil, policyname=nil) @PolicyId = policyid @DetachRoleId = detachroleid @DetachRoleName = detachrolename @PolicyName = policyname end |
Instance Attribute Details
#DetachRoleId ⇒ Object
2132 2133 2134 |
# File 'lib/v20190116/models.rb', line 2132 def DetachRoleId @DetachRoleId end |
#DetachRoleName ⇒ Object
2132 2133 2134 |
# File 'lib/v20190116/models.rb', line 2132 def DetachRoleName @DetachRoleName end |
#PolicyId ⇒ Object
2132 2133 2134 |
# File 'lib/v20190116/models.rb', line 2132 def PolicyId @PolicyId end |
#PolicyName ⇒ Object
2132 2133 2134 |
# File 'lib/v20190116/models.rb', line 2132 def PolicyName @PolicyName end |
Instance Method Details
#deserialize(params) ⇒ Object
2141 2142 2143 2144 2145 2146 |
# File 'lib/v20190116/models.rb', line 2141 def deserialize(params) @PolicyId = params['PolicyId'] @DetachRoleId = params['DetachRoleId'] @DetachRoleName = params['DetachRoleName'] @PolicyName = params['PolicyName'] end |