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
4040 4041 4042 4043 4044 |
# File 'lib/v20180606/models.rb', line 4040 def initialize(pushlogs=nil, totalcount=nil, requestid=nil) @PushLogs = pushlogs @TotalCount = totalcount @RequestId = requestid end |
Instance Attribute Details
#PushLogs ⇒ Object
4038 4039 4040 |
# File 'lib/v20180606/models.rb', line 4038 def PushLogs @PushLogs end |
#RequestId ⇒ Object
4038 4039 4040 |
# File 'lib/v20180606/models.rb', line 4038 def RequestId @RequestId end |
#TotalCount ⇒ Object
4038 4039 4040 |
# File 'lib/v20180606/models.rb', line 4038 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
4046 4047 4048 4049 4050 4051 4052 4053 4054 4055 4056 4057 |
# File 'lib/v20180606/models.rb', line 4046 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 |