Class: TencentCloud::Dayu::V20180709::DescribeL7HealthConfigResponse

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

Overview

DescribeL7HealthConfig返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(healthconfig = nil, requestid = nil) ⇒ DescribeL7HealthConfigResponse

Returns a new instance of DescribeL7HealthConfigResponse.



4948
4949
4950
4951
# File 'lib/v20180709/models.rb', line 4948

def initialize(healthconfig=nil, requestid=nil)
  @HealthConfig = healthconfig
  @RequestId = requestid
end

Instance Attribute Details

#HealthConfigObject

Parameters:

  • HealthConfig:

    七层健康检查配置数组

  • RequestId:

    唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。



4946
4947
4948
# File 'lib/v20180709/models.rb', line 4946

def HealthConfig
  @HealthConfig
end

#RequestIdObject

Parameters:

  • HealthConfig:

    七层健康检查配置数组

  • RequestId:

    唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。



4946
4947
4948
# File 'lib/v20180709/models.rb', line 4946

def RequestId
  @RequestId
end

Instance Method Details

#deserialize(params) ⇒ Object



4953
4954
4955
4956
4957
4958
4959
4960
4961
4962
4963
# File 'lib/v20180709/models.rb', line 4953

def deserialize(params)
  unless params['HealthConfig'].nil?
    @HealthConfig = []
    params['HealthConfig'].each do |i|
      l7healthconfig_tmp = L7HealthConfig.new
      l7healthconfig_tmp.deserialize(i)
      @HealthConfig << l7healthconfig_tmp
    end
  end
  @RequestId = params['RequestId']
end