Class: TencentCloud::Cam::V20190116::GetPolicyVersionResponse
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cam::V20190116::GetPolicyVersionResponse
- Defined in:
- lib/v20190116/models.rb
Overview
GetPolicyVersion返回参数结构体
Instance Attribute Summary collapse
-
#PolicyVersion ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#RequestId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(policyversion = nil, requestid = nil) ⇒ GetPolicyVersionResponse
constructor
A new instance of GetPolicyVersionResponse.
Constructor Details
#initialize(policyversion = nil, requestid = nil) ⇒ GetPolicyVersionResponse
Returns a new instance of GetPolicyVersionResponse.
2453 2454 2455 2456 |
# File 'lib/v20190116/models.rb', line 2453 def initialize(policyversion=nil, requestid=nil) @PolicyVersion = policyversion @RequestId = requestid end |
Instance Attribute Details
#PolicyVersion ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
2451 2452 2453 |
# File 'lib/v20190116/models.rb', line 2451 def PolicyVersion @PolicyVersion end |
#RequestId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
2451 2452 2453 |
# File 'lib/v20190116/models.rb', line 2451 def RequestId @RequestId end |
Instance Method Details
#deserialize(params) ⇒ Object
2458 2459 2460 2461 2462 2463 2464 |
# File 'lib/v20190116/models.rb', line 2458 def deserialize(params) unless params['PolicyVersion'].nil? @PolicyVersion = PolicyVersionDetail.new @PolicyVersion.deserialize(params['PolicyVersion']) end @RequestId = params['RequestId'] end |