Class: TencentCloud::Cdn::V20180606::DescribePushTasksResponse
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cdn::V20180606::DescribePushTasksResponse
- Defined in:
- lib/v20180606/models.rb
Overview
DescribePushTasks返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(pushlogs = nil, totalcount = nil, requestid = nil) ⇒ DescribePushTasksResponse
constructor
A new instance of DescribePushTasksResponse.
Constructor Details
#initialize(pushlogs = nil, totalcount = nil, requestid = nil) ⇒ DescribePushTasksResponse
Returns a new instance of DescribePushTasksResponse.
5365 5366 5367 5368 5369 |
# File 'lib/v20180606/models.rb', line 5365 def initialize(pushlogs=nil, totalcount=nil, requestid=nil) @PushLogs = pushlogs @TotalCount = totalcount @RequestId = requestid end |
Instance Attribute Details
#PushLogs ⇒ Object
5363 5364 5365 |
# File 'lib/v20180606/models.rb', line 5363 def PushLogs @PushLogs end |
#RequestId ⇒ Object
5363 5364 5365 |
# File 'lib/v20180606/models.rb', line 5363 def RequestId @RequestId end |
#TotalCount ⇒ Object
5363 5364 5365 |
# File 'lib/v20180606/models.rb', line 5363 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
5371 5372 5373 5374 5375 5376 5377 5378 5379 5380 5381 5382 |
# File 'lib/v20180606/models.rb', line 5371 def deserialize(params) unless params['PushLogs'].nil? @PushLogs = [] params['PushLogs'].each do |i| pushtask_tmp = PushTask.new pushtask_tmp.deserialize(i) @PushLogs << pushtask_tmp end end @TotalCount = params['TotalCount'] @RequestId = params['RequestId'] end |