Class: TencentCloud::Tke::V20180525::ListClusterInspectionResultsItemsResponse

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

Overview

ListClusterInspectionResultsItems返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(inspectionresultsitems = nil, requestid = nil) ⇒ ListClusterInspectionResultsItemsResponse

Returns a new instance of ListClusterInspectionResultsItemsResponse.



13543
13544
13545
13546
# File 'lib/v20180525/models.rb', line 13543

def initialize(inspectionresultsitems=nil, requestid=nil)
  @InspectionResultsItems = inspectionresultsitems
  @RequestId = requestid
end

Instance Attribute Details

#InspectionResultsItemsObject

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

Parameters:

  • InspectionResultsItems:

    巡检结果历史列表

  • RequestId:

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



13541
13542
13543
# File 'lib/v20180525/models.rb', line 13541

def InspectionResultsItems
  @InspectionResultsItems
end

#RequestIdObject

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

Parameters:

  • InspectionResultsItems:

    巡检结果历史列表

  • RequestId:

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



13541
13542
13543
# File 'lib/v20180525/models.rb', line 13541

def RequestId
  @RequestId
end

Instance Method Details

#deserialize(params) ⇒ Object



13548
13549
13550
13551
13552
13553
13554
13555
13556
13557
13558
# File 'lib/v20180525/models.rb', line 13548

def deserialize(params)
  unless params['InspectionResultsItems'].nil?
    @InspectionResultsItems = []
    params['InspectionResultsItems'].each do |i|
      kubejarvisstateinspectionresultsitem_tmp = KubeJarvisStateInspectionResultsItem.new
      kubejarvisstateinspectionresultsitem_tmp.deserialize(i)
      @InspectionResultsItems << kubejarvisstateinspectionresultsitem_tmp
    end
  end
  @RequestId = params['RequestId']
end