Class: TencentCloud::Vod::V20180717::DescribeCdnLogsResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Vod::V20180717::DescribeCdnLogsResponse
- Defined in:
- lib/v20180717/models.rb
Overview
DescribeCdnLogs返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(totalcount = nil, overseacdnlogs = nil, domesticcdnlogs = nil, requestid = nil) ⇒ DescribeCdnLogsResponse
constructor
A new instance of DescribeCdnLogsResponse.
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
#DomesticCdnLogs ⇒ Object
10317 10318 10319 |
# File 'lib/v20180717/models.rb', line 10317 def DomesticCdnLogs @DomesticCdnLogs end |
#OverseaCdnLogs ⇒ Object
10317 10318 10319 |
# File 'lib/v20180717/models.rb', line 10317 def OverseaCdnLogs @OverseaCdnLogs end |
#RequestId ⇒ Object
10317 10318 10319 |
# File 'lib/v20180717/models.rb', line 10317 def RequestId @RequestId end |
#TotalCount ⇒ Object
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 |