Class: TencentCloud::Tke::V20180525::CreatePrometheusTemplateResponse

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(templateid = nil, requestid = nil) ⇒ CreatePrometheusTemplateResponse

Returns a new instance of CreatePrometheusTemplateResponse.



3643
3644
3645
3646
# File 'lib/v20180525/models.rb', line 3643

def initialize(templateid=nil, requestid=nil)
  @TemplateId = templateid
  @RequestId = requestid
end

Instance Attribute Details

#RequestIdObject

Parameters:

  • TemplateId:

    模板Id

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



3641
3642
3643
# File 'lib/v20180525/models.rb', line 3641

def RequestId
  @RequestId
end

#TemplateIdObject

Parameters:

  • TemplateId:

    模板Id

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



3641
3642
3643
# File 'lib/v20180525/models.rb', line 3641

def TemplateId
  @TemplateId
end

Instance Method Details

#deserialize(params) ⇒ Object



3648
3649
3650
3651
# File 'lib/v20180525/models.rb', line 3648

def deserialize(params)
  @TemplateId = params['TemplateId']
  @RequestId = params['RequestId']
end