Class: TencentCloud::Tke::V20180525::ModifyPrometheusTemplateRequest

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

Overview

ModifyPrometheusTemplate请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(templateid = nil, template = nil) ⇒ ModifyPrometheusTemplateRequest

Returns a new instance of ModifyPrometheusTemplateRequest.



14806
14807
14808
14809
# File 'lib/v20180525/models.rb', line 14806

def initialize(templateid=nil, template=nil)
  @TemplateId = templateid
  @Template = template
end

Instance Attribute Details

#TemplateObject

Parameters:

  • TemplateId:

    模板ID

  • Template:

    修改内容



14804
14805
14806
# File 'lib/v20180525/models.rb', line 14804

def Template
  @Template
end

#TemplateIdObject

Parameters:

  • TemplateId:

    模板ID

  • Template:

    修改内容



14804
14805
14806
# File 'lib/v20180525/models.rb', line 14804

def TemplateId
  @TemplateId
end

Instance Method Details

#deserialize(params) ⇒ Object



14811
14812
14813
14814
14815
14816
14817
# File 'lib/v20180525/models.rb', line 14811

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