Class: TencentCloud::Tke::V20220501::DescribeHealthCheckTemplateResponse

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

Overview

DescribeHealthCheckTemplate返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(healthchecktemplate = nil, requestid = nil) ⇒ DescribeHealthCheckTemplateResponse

Returns a new instance of DescribeHealthCheckTemplateResponse.



740
741
742
743
# File 'lib/v20220501/models.rb', line 740

def initialize(healthchecktemplate=nil, requestid=nil)
  @HealthCheckTemplate = healthchecktemplate
  @RequestId = requestid
end

Instance Attribute Details

#HealthCheckTemplateObject

Parameters:

  • HealthCheckTemplate:

    健康检测策略模板

  • RequestId:

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



738
739
740
# File 'lib/v20220501/models.rb', line 738

def HealthCheckTemplate
  @HealthCheckTemplate
end

#RequestIdObject

Parameters:

  • HealthCheckTemplate:

    健康检测策略模板

  • RequestId:

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



738
739
740
# File 'lib/v20220501/models.rb', line 738

def RequestId
  @RequestId
end

Instance Method Details

#deserialize(params) ⇒ Object



745
746
747
748
749
750
751
# File 'lib/v20220501/models.rb', line 745

def deserialize(params)
  unless params['HealthCheckTemplate'].nil?
    @HealthCheckTemplate = HealthCheckTemplate.new
    @HealthCheckTemplate.deserialize(params['HealthCheckTemplate'])
  end
  @RequestId = params['RequestId']
end