Class: TencentCloud::Tke::V20180525::ModifyOpenPolicyListRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tke::V20180525::ModifyOpenPolicyListRequest
- Defined in:
- lib/v20180525/models.rb
Overview
ModifyOpenPolicyList请求参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(clusterid = nil, openpolicyinfolist = nil, category = nil) ⇒ ModifyOpenPolicyListRequest
constructor
A new instance of ModifyOpenPolicyListRequest.
Constructor Details
#initialize(clusterid = nil, openpolicyinfolist = nil, category = nil) ⇒ ModifyOpenPolicyListRequest
Returns a new instance of ModifyOpenPolicyListRequest.
14434 14435 14436 14437 14438 |
# File 'lib/v20180525/models.rb', line 14434 def initialize(clusterid=nil, =nil, category=nil) @ClusterId = clusterid @OpenPolicyInfoList = @Category = category end |
Instance Attribute Details
#Category ⇒ Object
14432 14433 14434 |
# File 'lib/v20180525/models.rb', line 14432 def Category @Category end |
#ClusterId ⇒ Object
14432 14433 14434 |
# File 'lib/v20180525/models.rb', line 14432 def ClusterId @ClusterId end |
#OpenPolicyInfoList ⇒ Object
14432 14433 14434 |
# File 'lib/v20180525/models.rb', line 14432 def OpenPolicyInfoList @OpenPolicyInfoList end |
Instance Method Details
#deserialize(params) ⇒ Object
14440 14441 14442 14443 14444 14445 14446 14447 14448 14449 14450 14451 |
# File 'lib/v20180525/models.rb', line 14440 def deserialize(params) @ClusterId = params['ClusterId'] unless params['OpenPolicyInfoList'].nil? @OpenPolicyInfoList = [] params['OpenPolicyInfoList'].each do |i| openpolicyswitch_tmp = OpenPolicySwitch.new openpolicyswitch_tmp.deserialize(i) @OpenPolicyInfoList << openpolicyswitch_tmp end end @Category = params['Category'] end |