Class: TencentCloud::Cdn::V20180606::DescribeCdnDomainLogsResponse
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cdn::V20180606::DescribeCdnDomainLogsResponse
- Defined in:
- lib/v20180606/models.rb
Overview
DescribeCdnDomainLogs返回参数结构体
Instance Attribute Summary collapse
-
#DomainLogs ⇒ Object
下载内容是gz后缀的压缩包,解压后是无扩展名的文本文件。链接有效期1天。.
-
#RequestId ⇒ Object
下载内容是gz后缀的压缩包,解压后是无扩展名的文本文件。链接有效期1天。.
-
#TotalCount ⇒ Object
下载内容是gz后缀的压缩包,解压后是无扩展名的文本文件。链接有效期1天。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(domainlogs = nil, totalcount = nil, requestid = nil) ⇒ DescribeCdnDomainLogsResponse
constructor
A new instance of DescribeCdnDomainLogsResponse.
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
#DomainLogs ⇒ Object
下载内容是gz后缀的压缩包,解压后是无扩展名的文本文件。链接有效期1天。
2731 2732 2733 |
# File 'lib/v20180606/models.rb', line 2731 def DomainLogs @DomainLogs end |
#RequestId ⇒ Object
下载内容是gz后缀的压缩包,解压后是无扩展名的文本文件。链接有效期1天。
2731 2732 2733 |
# File 'lib/v20180606/models.rb', line 2731 def RequestId @RequestId end |
#TotalCount ⇒ Object
下载内容是gz后缀的压缩包,解压后是无扩展名的文本文件。链接有效期1天。
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 |