Class: TencentCloud::Cdn::V20180606::DescribeCdnDomainLogsResponse

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

Overview

DescribeCdnDomainLogs返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(domainlogs = nil, totalcount = nil, requestid = nil) ⇒ DescribeCdnDomainLogsResponse

Returns a new instance of DescribeCdnDomainLogsResponse.



2733
2734
2735
2736
2737
# File 'lib/v20180606/models.rb', line 2733

def initialize(domainlogs=nil, totalcount=nil, requestid=nil)
  @DomainLogs = domainlogs
  @TotalCount = totalcount
  @RequestId = requestid
end

Instance Attribute Details

#DomainLogsObject

下载内容是gz后缀的压缩包,解压后是无扩展名的文本文件。链接有效期1天。

Parameters:

  • DomainLogs:

    日志包下载链接。

  • TotalCount:

    查询到的总条数

  • RequestId:

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



2731
2732
2733
# File 'lib/v20180606/models.rb', line 2731

def DomainLogs
  @DomainLogs
end

#RequestIdObject

下载内容是gz后缀的压缩包,解压后是无扩展名的文本文件。链接有效期1天。

Parameters:

  • DomainLogs:

    日志包下载链接。

  • TotalCount:

    查询到的总条数

  • RequestId:

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



2731
2732
2733
# File 'lib/v20180606/models.rb', line 2731

def RequestId
  @RequestId
end

#TotalCountObject

下载内容是gz后缀的压缩包,解压后是无扩展名的文本文件。链接有效期1天。

Parameters:

  • DomainLogs:

    日志包下载链接。

  • TotalCount:

    查询到的总条数

  • RequestId:

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



2731
2732
2733
# File 'lib/v20180606/models.rb', line 2731

def TotalCount
  @TotalCount
end

Instance Method Details

#deserialize(params) ⇒ Object



2739
2740
2741
2742
2743
2744
2745
2746
2747
2748
2749
2750
# File 'lib/v20180606/models.rb', line 2739

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