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
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(openpolicyinfolist = nil, gatekeeperstatus = nil, requestid = nil) ⇒ DescribeOpenPolicyListResponse
constructor
A new instance of DescribeOpenPolicyListResponse.
Constructor Details
#initialize(openpolicyinfolist = nil, gatekeeperstatus = nil, requestid = nil) ⇒ DescribeOpenPolicyListResponse
Returns a new instance of DescribeOpenPolicyListResponse.
8897 8898 8899 8900 8901 |
# File 'lib/v20180525/models.rb', line 8897 def initialize(=nil, gatekeeperstatus=nil, requestid=nil) @OpenPolicyInfoList = @GatekeeperStatus = gatekeeperstatus @RequestId = requestid end |
Instance Attribute Details
#GatekeeperStatus ⇒ Object
8895 8896 8897 |
# File 'lib/v20180525/models.rb', line 8895 def GatekeeperStatus @GatekeeperStatus end |
#OpenPolicyInfoList ⇒ Object
8895 8896 8897 |
# File 'lib/v20180525/models.rb', line 8895 def OpenPolicyInfoList @OpenPolicyInfoList end |
#RequestId ⇒ Object
8895 8896 8897 |
# File 'lib/v20180525/models.rb', line 8895 def RequestId @RequestId end |
Instance Method Details
#deserialize(params) ⇒ Object
8903 8904 8905 8906 8907 8908 8909 8910 8911 8912 8913 8914 |
# File 'lib/v20180525/models.rb', line 8903 def deserialize(params) unless params['OpenPolicyInfoList'].nil? @OpenPolicyInfoList = [] params['OpenPolicyInfoList'].each do |i| = OpenPolicyInfo.new .deserialize(i) @OpenPolicyInfoList << end end @GatekeeperStatus = params['GatekeeperStatus'] @RequestId = params['RequestId'] end |