Class: TencentCloud::Tke::V20180525::CreatePrometheusTemplateRequest

Inherits:
Common::AbstractModel
  • Object
show all
Defined in:
lib/v20180525/models.rb

Overview

CreatePrometheusTemplate请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(template = nil) ⇒ CreatePrometheusTemplateRequest

Returns a new instance of CreatePrometheusTemplateRequest.



3622
3623
3624
# File 'lib/v20180525/models.rb', line 3622

def initialize(template=nil)
  @Template = template
end

Instance Attribute Details

#TemplateObject

Parameters:

  • Template:

    模板设置



3620
3621
3622
# File 'lib/v20180525/models.rb', line 3620

def Template
  @Template
end

Instance Method Details

#deserialize(params) ⇒ Object



3626
3627
3628
3629
3630
3631
# File 'lib/v20180525/models.rb', line 3626

def deserialize(params)
  unless params['Template'].nil?
    @Template = PrometheusTemplate.new
    @Template.deserialize(params['Template'])
  end
end