Class: TencentCloud::Cdn::V20180606::ListDiagnoseReportResponse

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

Overview

ListDiagnoseReport返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(data = nil, requestid = nil) ⇒ ListDiagnoseReportResponse

Returns a new instance of ListDiagnoseReportResponse.



8643
8644
8645
8646
# File 'lib/v20180606/models.rb', line 8643

def initialize(data=nil, requestid=nil)
  @Data = data
  @RequestId = requestid
end

Instance Attribute Details

#DataObject

Parameters:

  • Data:

    诊断信息。

  • RequestId:

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



8641
8642
8643
# File 'lib/v20180606/models.rb', line 8641

def Data
  @Data
end

#RequestIdObject

Parameters:

  • Data:

    诊断信息。

  • RequestId:

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



8641
8642
8643
# File 'lib/v20180606/models.rb', line 8641

def RequestId
  @RequestId
end

Instance Method Details

#deserialize(params) ⇒ Object



8648
8649
8650
8651
8652
8653
8654
8655
8656
8657
8658
# File 'lib/v20180606/models.rb', line 8648

def deserialize(params)
  unless params['Data'].nil?
    @Data = []
    params['Data'].each do |i|
      diagnoseinfo_tmp = DiagnoseInfo.new
      diagnoseinfo_tmp.deserialize(i)
      @Data << diagnoseinfo_tmp
    end
  end
  @RequestId = params['RequestId']
end