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



2735
2736
2737
2738
2739
# File 'lib/v20180606/models.rb', line 2735

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

Instance Attribute Details

#DomainLogsObject

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



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

def DomainLogs
  @DomainLogs
end

#RequestIdObject

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



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

def RequestId
  @RequestId
end

#TotalCountObject

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



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

def TotalCount
  @TotalCount
end

Instance Method Details

#deserialize(params) ⇒ Object



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

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