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.
12513 12514 12515 12516 12517 |
# File 'lib/v20180525/models.rb', line 12513 def initialize(clusterid=nil, clustertype=nil, components=nil) @ClusterId = clusterid @ClusterType = clustertype @Components = components end |
Instance Attribute Details
#ClusterId ⇒ Object
12511 12512 12513 |
# File 'lib/v20180525/models.rb', line 12511 def ClusterId @ClusterId end |
#ClusterType ⇒ Object
12511 12512 12513 |
# File 'lib/v20180525/models.rb', line 12511 def ClusterType @ClusterType end |
#Components ⇒ Object
12511 12512 12513 |
# File 'lib/v20180525/models.rb', line 12511 def Components @Components end |
Instance Method Details
#deserialize(params) ⇒ Object
12519 12520 12521 12522 12523 12524 12525 12526 12527 12528 12529 12530 |
# File 'lib/v20180525/models.rb', line 12519 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 |