Class: TencentCloud::Tke::V20180525::EnableControlPlaneLogsRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tke::V20180525::EnableControlPlaneLogsRequest
- Defined in:
- lib/v20180525/models.rb
Overview
EnableControlPlaneLogs请求参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(clusterid = nil, clustertype = nil, components = nil) ⇒ EnableControlPlaneLogsRequest
constructor
A new instance of EnableControlPlaneLogsRequest.
Constructor Details
#initialize(clusterid = nil, clustertype = nil, components = nil) ⇒ EnableControlPlaneLogsRequest
Returns a new instance of EnableControlPlaneLogsRequest.
12625 12626 12627 12628 12629 |
# File 'lib/v20180525/models.rb', line 12625 def initialize(clusterid=nil, clustertype=nil, components=nil) @ClusterId = clusterid @ClusterType = clustertype @Components = components end |
Instance Attribute Details
#ClusterId ⇒ Object
12623 12624 12625 |
# File 'lib/v20180525/models.rb', line 12623 def ClusterId @ClusterId end |
#ClusterType ⇒ Object
12623 12624 12625 |
# File 'lib/v20180525/models.rb', line 12623 def ClusterType @ClusterType end |
#Components ⇒ Object
12623 12624 12625 |
# File 'lib/v20180525/models.rb', line 12623 def Components @Components end |
Instance Method Details
#deserialize(params) ⇒ Object
12631 12632 12633 12634 12635 12636 12637 12638 12639 12640 12641 12642 |
# File 'lib/v20180525/models.rb', line 12631 def deserialize(params) @ClusterId = params['ClusterId'] @ClusterType = params['ClusterType'] unless params['Components'].nil? @Components = [] params['Components'].each do |i| componentlogconfig_tmp = ComponentLogConfig.new componentlogconfig_tmp.deserialize(i) @Components << componentlogconfig_tmp end end end |