Class: TencentCloud::Cloudaudit::V20190319::ListAuditsResponse

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

Overview

ListAudits返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(auditsummarys = nil, requestid = nil) ⇒ ListAuditsResponse

Returns a new instance of ListAuditsResponse.



796
797
798
799
# File 'lib/v20190319/models.rb', line 796

def initialize(auditsummarys=nil, requestid=nil)
  @AuditSummarys = auditsummarys
  @RequestId = requestid
end

Instance Attribute Details

#AuditSummarysObject

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

Parameters:

  • AuditSummarys:

    查询跟踪集概要集合

  • RequestId:

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



794
795
796
# File 'lib/v20190319/models.rb', line 794

def AuditSummarys
  @AuditSummarys
end

#RequestIdObject

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

Parameters:

  • AuditSummarys:

    查询跟踪集概要集合

  • RequestId:

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



794
795
796
# File 'lib/v20190319/models.rb', line 794

def RequestId
  @RequestId
end

Instance Method Details

#deserialize(params) ⇒ Object



801
802
803
804
805
806
807
808
809
810
811
# File 'lib/v20190319/models.rb', line 801

def deserialize(params)
  unless params['AuditSummarys'].nil?
    @AuditSummarys = []
    params['AuditSummarys'].each do |i|
      auditsummary_tmp = AuditSummary.new
      auditsummary_tmp.deserialize(i)
      @AuditSummarys << auditsummary_tmp
    end
  end
  @RequestId = params['RequestId']
end