class TencentCloud::Tke::V20180525::DeletePrometheusTemplateSyncRequest
DeletePrometheusTemplateSync请求参数结构体
def deserialize(params)
def deserialize(params) @TemplateId = params['TemplateId'] unless params['Targets'].nil? @Targets = [] params['Targets'].each do |i| prometheustemplatesynctarget_tmp = PrometheusTemplateSyncTarget.new prometheustemplatesynctarget_tmp.deserialize(i) @Targets << prometheustemplatesynctarget_tmp end end end
def initialize(templateid=nil, targets=nil)
def initialize(templateid=nil, targets=nil) @TemplateId = templateid @Targets = targets end