Class: TencentCloud::Tke::V20220501::DescribeHealthCheckPolicyBindingsResponse

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

Overview

DescribeHealthCheckPolicyBindings返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(healthcheckpolicybindings = nil, totalcount = nil, requestid = nil) ⇒ DescribeHealthCheckPolicyBindingsResponse

Returns a new instance of DescribeHealthCheckPolicyBindingsResponse.



700
701
702
703
704
# File 'lib/v20220501/models.rb', line 700

def initialize(healthcheckpolicybindings=nil, totalcount=nil, requestid=nil)
  @HealthCheckPolicyBindings = healthcheckpolicybindings
  @TotalCount = totalcount
  @RequestId = requestid
end

Instance Attribute Details

#HealthCheckPolicyBindingsObject

注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • HealthCheckPolicyBindings:

    健康检测规则数组

  • TotalCount:

    健康检测规则数量

  • RequestId:

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



698
699
700
# File 'lib/v20220501/models.rb', line 698

def HealthCheckPolicyBindings
  @HealthCheckPolicyBindings
end

#RequestIdObject

注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • HealthCheckPolicyBindings:

    健康检测规则数组

  • TotalCount:

    健康检测规则数量

  • RequestId:

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



698
699
700
# File 'lib/v20220501/models.rb', line 698

def RequestId
  @RequestId
end

#TotalCountObject

注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • HealthCheckPolicyBindings:

    健康检测规则数组

  • TotalCount:

    健康检测规则数量

  • RequestId:

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



698
699
700
# File 'lib/v20220501/models.rb', line 698

def TotalCount
  @TotalCount
end

Instance Method Details

#deserialize(params) ⇒ Object



706
707
708
709
710
711
712
713
714
715
716
717
# File 'lib/v20220501/models.rb', line 706

def deserialize(params)
  unless params['HealthCheckPolicyBindings'].nil?
    @HealthCheckPolicyBindings = []
    params['HealthCheckPolicyBindings'].each do |i|
      healthcheckpolicybinding_tmp = HealthCheckPolicyBinding.new
      healthcheckpolicybinding_tmp.deserialize(i)
      @HealthCheckPolicyBindings << healthcheckpolicybinding_tmp
    end
  end
  @TotalCount = params['TotalCount']
  @RequestId = params['RequestId']
end