Class: TencentCloud::Tke::V20180525::ListClusterInspectionResultsResponse

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

Overview

ListClusterInspectionResults返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(inspectionresults = nil, requestid = nil) ⇒ ListClusterInspectionResultsResponse

Returns a new instance of ListClusterInspectionResultsResponse.



13595
13596
13597
13598
# File 'lib/v20180525/models.rb', line 13595

def initialize(inspectionresults=nil, requestid=nil)
  @InspectionResults = inspectionresults
  @RequestId = requestid
end

Instance Attribute Details

#InspectionResultsObject

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

Parameters:

  • InspectionResults:

    集群诊断结果列表

  • RequestId:

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



13593
13594
13595
# File 'lib/v20180525/models.rb', line 13593

def InspectionResults
  @InspectionResults
end

#RequestIdObject

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

Parameters:

  • InspectionResults:

    集群诊断结果列表

  • RequestId:

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



13593
13594
13595
# File 'lib/v20180525/models.rb', line 13593

def RequestId
  @RequestId
end

Instance Method Details

#deserialize(params) ⇒ Object



13600
13601
13602
13603
13604
13605
13606
13607
13608
13609
13610
# File 'lib/v20180525/models.rb', line 13600

def deserialize(params)
  unless params['InspectionResults'].nil?
    @InspectionResults = []
    params['InspectionResults'].each do |i|
      kubejarvisstateinspectionresult_tmp = KubeJarvisStateInspectionResult.new
      kubejarvisstateinspectionresult_tmp.deserialize(i)
      @InspectionResults << kubejarvisstateinspectionresult_tmp
    end
  end
  @RequestId = params['RequestId']
end