Class: TencentCloud::Tke::V20180525::CreatePrometheusTempResponse

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

Overview

CreatePrometheusTemp返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(templateid = nil, requestid = nil) ⇒ CreatePrometheusTempResponse

Returns a new instance of CreatePrometheusTempResponse.



3604
3605
3606
3607
# File 'lib/v20180525/models.rb', line 3604

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

Instance Attribute Details

#RequestIdObject

Parameters:

  • TemplateId:

    模板Id

  • RequestId:

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



3602
3603
3604
# File 'lib/v20180525/models.rb', line 3602

def RequestId
  @RequestId
end

#TemplateIdObject

Parameters:

  • TemplateId:

    模板Id

  • RequestId:

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



3602
3603
3604
# File 'lib/v20180525/models.rb', line 3602

def TemplateId
  @TemplateId
end

Instance Method Details

#deserialize(params) ⇒ Object



3609
3610
3611
3612
# File 'lib/v20180525/models.rb', line 3609

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