Class: TencentCloud::Cam::V20190116::ListPolicyVersionsResponse
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cam::V20190116::ListPolicyVersionsResponse
- Defined in:
- lib/v20190116/models.rb
Overview
ListPolicyVersions返回参数结构体
Instance Attribute Summary collapse
-
#RequestId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#Versions ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(versions = nil, requestid = nil) ⇒ ListPolicyVersionsResponse
constructor
A new instance of ListPolicyVersionsResponse.
Constructor Details
#initialize(versions = nil, requestid = nil) ⇒ ListPolicyVersionsResponse
Returns a new instance of ListPolicyVersionsResponse.
3772 3773 3774 3775 |
# File 'lib/v20190116/models.rb', line 3772 def initialize(versions=nil, requestid=nil) @Versions = versions @RequestId = requestid end |
Instance Attribute Details
#RequestId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
3770 3771 3772 |
# File 'lib/v20190116/models.rb', line 3770 def RequestId @RequestId end |
#Versions ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
3770 3771 3772 |
# File 'lib/v20190116/models.rb', line 3770 def Versions @Versions end |
Instance Method Details
#deserialize(params) ⇒ Object
3777 3778 3779 3780 3781 3782 3783 3784 3785 3786 3787 |
# File 'lib/v20190116/models.rb', line 3777 def deserialize(params) unless params['Versions'].nil? @Versions = [] params['Versions'].each do |i| policyversionitem_tmp = PolicyVersionItem.new policyversionitem_tmp.deserialize(i) @Versions << policyversionitem_tmp end end @RequestId = params['RequestId'] end |