Class: TencentCloud::Tke::V20180525::DescribeOpenPolicyListResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tke::V20180525::DescribeOpenPolicyListResponse
- Defined in:
- lib/v20180525/models.rb
Overview
DescribeOpenPolicyList返回参数结构体
Instance Attribute Summary collapse
-
#OpenPolicyInfoList ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#RequestId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(openpolicyinfolist = nil, requestid = nil) ⇒ DescribeOpenPolicyListResponse
constructor
A new instance of DescribeOpenPolicyListResponse.
Constructor Details
#initialize(openpolicyinfolist = nil, requestid = nil) ⇒ DescribeOpenPolicyListResponse
Returns a new instance of DescribeOpenPolicyListResponse.
8235 8236 8237 8238 |
# File 'lib/v20180525/models.rb', line 8235 def initialize(=nil, requestid=nil) @OpenPolicyInfoList = @RequestId = requestid end |
Instance Attribute Details
#OpenPolicyInfoList ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
8233 8234 8235 |
# File 'lib/v20180525/models.rb', line 8233 def OpenPolicyInfoList @OpenPolicyInfoList end |
#RequestId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
8233 8234 8235 |
# File 'lib/v20180525/models.rb', line 8233 def RequestId @RequestId end |
Instance Method Details
#deserialize(params) ⇒ Object
8240 8241 8242 8243 8244 8245 8246 8247 8248 8249 8250 |
# File 'lib/v20180525/models.rb', line 8240 def deserialize(params) unless params['OpenPolicyInfoList'].nil? @OpenPolicyInfoList = [] params['OpenPolicyInfoList'].each do |i| = OpenPolicyInfo.new .deserialize(i) @OpenPolicyInfoList << end end @RequestId = params['RequestId'] end |