Class: TencentCloud::Tke::V20180525::ModifyPrometheusTempRequest

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

Overview

ModifyPrometheusTemp请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

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

Returns a new instance of ModifyPrometheusTempRequest.



14767
14768
14769
14770
# File 'lib/v20180525/models.rb', line 14767

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

Instance Attribute Details

#TemplateObject

Parameters:

  • TemplateId:

    模板ID

  • Template:

    修改内容



14765
14766
14767
# File 'lib/v20180525/models.rb', line 14765

def Template
  @Template
end

#TemplateIdObject

Parameters:

  • TemplateId:

    模板ID

  • Template:

    修改内容



14765
14766
14767
# File 'lib/v20180525/models.rb', line 14765

def TemplateId
  @TemplateId
end

Instance Method Details

#deserialize(params) ⇒ Object



14772
14773
14774
14775
14776
14777
14778
# File 'lib/v20180525/models.rb', line 14772

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