Class: TencentCloud::Tdmq::V20200217::DescribeNodeHealthOptResponse

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

Overview

DescribeNodeHealthOpt返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(nodestate = nil, latesthealthchecktime = nil, requestid = nil) ⇒ DescribeNodeHealthOptResponse

Returns a new instance of DescribeNodeHealthOptResponse.



4627
4628
4629
4630
4631
# File 'lib/v20200217/models.rb', line 4627

def initialize(nodestate=nil, latesthealthchecktime=nil, requestid=nil)
  @NodeState = nodestate
  @LatestHealthCheckTime = latesthealthchecktime
  @RequestId = requestid
end

Instance Attribute Details

#LatestHealthCheckTimeObject

Parameters:

  • NodeState:

    0-异常;1-正常

  • LatestHealthCheckTime:

    最近一次健康检查的时间

  • RequestId:

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



4625
4626
4627
# File 'lib/v20200217/models.rb', line 4625

def LatestHealthCheckTime
  @LatestHealthCheckTime
end

#NodeStateObject

Parameters:

  • NodeState:

    0-异常;1-正常

  • LatestHealthCheckTime:

    最近一次健康检查的时间

  • RequestId:

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



4625
4626
4627
# File 'lib/v20200217/models.rb', line 4625

def NodeState
  @NodeState
end

#RequestIdObject

Parameters:

  • NodeState:

    0-异常;1-正常

  • LatestHealthCheckTime:

    最近一次健康检查的时间

  • RequestId:

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



4625
4626
4627
# File 'lib/v20200217/models.rb', line 4625

def RequestId
  @RequestId
end

Instance Method Details

#deserialize(params) ⇒ Object



4633
4634
4635
4636
4637
# File 'lib/v20200217/models.rb', line 4633

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