Class: TencentCloud::Dayu::V20180709::DescribeL4HealthConfigResponse

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

Overview

DescribeL4HealthConfig返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

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

Returns a new instance of DescribeL4HealthConfigResponse.



4829
4830
4831
4832
# File 'lib/v20180709/models.rb', line 4829

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

Instance Attribute Details

#HealthConfigObject

Parameters:

  • HealthConfig:

    四层健康检查配置数组

  • RequestId:

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



4827
4828
4829
# File 'lib/v20180709/models.rb', line 4827

def HealthConfig
  @HealthConfig
end

#RequestIdObject

Parameters:

  • HealthConfig:

    四层健康检查配置数组

  • RequestId:

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



4827
4828
4829
# File 'lib/v20180709/models.rb', line 4827

def RequestId
  @RequestId
end

Instance Method Details

#deserialize(params) ⇒ Object



4834
4835
4836
4837
4838
4839
4840
4841
4842
4843
4844
# File 'lib/v20180709/models.rb', line 4834

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