Class: TencentCloud::Cloudaudit::V20190319::DescribeAuditTracksResponse

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

Overview

DescribeAuditTracks返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(tracks = nil, totalcount = nil, requestid = nil) ⇒ DescribeAuditTracksResponse

Returns a new instance of DescribeAuditTracksResponse.



468
469
470
471
472
# File 'lib/v20190319/models.rb', line 468

def initialize(tracks=nil, totalcount=nil, requestid=nil)
  @Tracks = tracks
  @TotalCount = totalcount
  @RequestId = requestid
end

Instance Attribute Details

#RequestIdObject

Parameters:

  • Tracks:

    跟踪集列表

  • TotalCount:

    总数目

  • RequestId:

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



466
467
468
# File 'lib/v20190319/models.rb', line 466

def RequestId
  @RequestId
end

#TotalCountObject

Parameters:

  • Tracks:

    跟踪集列表

  • TotalCount:

    总数目

  • RequestId:

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



466
467
468
# File 'lib/v20190319/models.rb', line 466

def TotalCount
  @TotalCount
end

#TracksObject

Parameters:

  • Tracks:

    跟踪集列表

  • TotalCount:

    总数目

  • RequestId:

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



466
467
468
# File 'lib/v20190319/models.rb', line 466

def Tracks
  @Tracks
end

Instance Method Details

#deserialize(params) ⇒ Object



474
475
476
477
478
479
480
481
482
483
484
485
# File 'lib/v20190319/models.rb', line 474

def deserialize(params)
  unless params['Tracks'].nil?
    @Tracks = []
    params['Tracks'].each do |i|
      tracks_tmp = Tracks.new
      tracks_tmp.deserialize(i)
      @Tracks << tracks_tmp
    end
  end
  @TotalCount = params['TotalCount']
  @RequestId = params['RequestId']
end