Class: TencentCloud::Organization::V20210331::DetachPolicyRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Organization::V20210331::DetachPolicyRequest
- Defined in:
- lib/v20210331/models.rb
Overview
DetachPolicy请求参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(targetid = nil, targettype = nil, policyid = nil, type = nil) ⇒ DetachPolicyRequest
constructor
A new instance of DetachPolicyRequest.
Constructor Details
#initialize(targetid = nil, targettype = nil, policyid = nil, type = nil) ⇒ DetachPolicyRequest
Returns a new instance of DetachPolicyRequest.
3387 3388 3389 3390 3391 3392 |
# File 'lib/v20210331/models.rb', line 3387 def initialize(targetid=nil, targettype=nil, policyid=nil, type=nil) @TargetId = targetid @TargetType = targettype @PolicyId = policyid @Type = type end |
Instance Attribute Details
#PolicyId ⇒ Object
3385 3386 3387 |
# File 'lib/v20210331/models.rb', line 3385 def PolicyId @PolicyId end |
#TargetId ⇒ Object
3385 3386 3387 |
# File 'lib/v20210331/models.rb', line 3385 def TargetId @TargetId end |
#TargetType ⇒ Object
3385 3386 3387 |
# File 'lib/v20210331/models.rb', line 3385 def TargetType @TargetType end |
#Type ⇒ Object
3385 3386 3387 |
# File 'lib/v20210331/models.rb', line 3385 def Type @Type end |
Instance Method Details
#deserialize(params) ⇒ Object
3394 3395 3396 3397 3398 3399 |
# File 'lib/v20210331/models.rb', line 3394 def deserialize(params) @TargetId = params['TargetId'] @TargetType = params['TargetType'] @PolicyId = params['PolicyId'] @Type = params['Type'] end |