Class: TencentCloud::Vod::V20180717::DescribeCdnLogsResponse

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

Overview

DescribeCdnLogs返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(totalcount = nil, overseacdnlogs = nil, domesticcdnlogs = nil, requestid = nil) ⇒ DescribeCdnLogsResponse

Returns a new instance of DescribeCdnLogsResponse.



10319
10320
10321
10322
10323
10324
# File 'lib/v20180717/models.rb', line 10319

def initialize(totalcount=nil, overseacdnlogs=nil, domesticcdnlogs=nil, requestid=nil)
  @TotalCount = totalcount
  @OverseaCdnLogs = overseacdnlogs
  @DomesticCdnLogs = domesticcdnlogs
  @RequestId = requestid
end

Instance Attribute Details

#DomesticCdnLogsObject

Parameters:

  • TotalCount:

    日志下载链接总数量。

  • OverseaCdnLogs:

    海外CDN节点的日志下载列表。如果域名没有开启海外加速,忽略该参数。

  • DomesticCdnLogs:

    国内CDN节点的日志下载列表。

  • RequestId:

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



10317
10318
10319
# File 'lib/v20180717/models.rb', line 10317

def DomesticCdnLogs
  @DomesticCdnLogs
end

#OverseaCdnLogsObject

Parameters:

  • TotalCount:

    日志下载链接总数量。

  • OverseaCdnLogs:

    海外CDN节点的日志下载列表。如果域名没有开启海外加速,忽略该参数。

  • DomesticCdnLogs:

    国内CDN节点的日志下载列表。

  • RequestId:

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



10317
10318
10319
# File 'lib/v20180717/models.rb', line 10317

def OverseaCdnLogs
  @OverseaCdnLogs
end

#RequestIdObject

Parameters:

  • TotalCount:

    日志下载链接总数量。

  • OverseaCdnLogs:

    海外CDN节点的日志下载列表。如果域名没有开启海外加速,忽略该参数。

  • DomesticCdnLogs:

    国内CDN节点的日志下载列表。

  • RequestId:

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



10317
10318
10319
# File 'lib/v20180717/models.rb', line 10317

def RequestId
  @RequestId
end

#TotalCountObject

Parameters:

  • TotalCount:

    日志下载链接总数量。

  • OverseaCdnLogs:

    海外CDN节点的日志下载列表。如果域名没有开启海外加速,忽略该参数。

  • DomesticCdnLogs:

    国内CDN节点的日志下载列表。

  • RequestId:

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



10317
10318
10319
# File 'lib/v20180717/models.rb', line 10317

def TotalCount
  @TotalCount
end

Instance Method Details

#deserialize(params) ⇒ Object



10326
10327
10328
10329
10330
10331
10332
10333
10334
10335
10336
10337
10338
10339
10340
10341
10342
10343
10344
10345
# File 'lib/v20180717/models.rb', line 10326

def deserialize(params)
  @TotalCount = params['TotalCount']
  unless params['OverseaCdnLogs'].nil?
    @OverseaCdnLogs = []
    params['OverseaCdnLogs'].each do |i|
      cdnloginfo_tmp = CdnLogInfo.new
      cdnloginfo_tmp.deserialize(i)
      @OverseaCdnLogs << cdnloginfo_tmp
    end
  end
  unless params['DomesticCdnLogs'].nil?
    @DomesticCdnLogs = []
    params['DomesticCdnLogs'].each do |i|
      cdnloginfo_tmp = CdnLogInfo.new
      cdnloginfo_tmp.deserialize(i)
      @DomesticCdnLogs << cdnloginfo_tmp
    end
  end
  @RequestId = params['RequestId']
end