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
-
#PushLogs ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#RequestId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#TotalCount ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
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.
5381 5382 5383 5384 5385 |
# File 'lib/v20180606/models.rb', line 5381 def initialize(pushlogs=nil, totalcount=nil, requestid=nil) @PushLogs = pushlogs @TotalCount = totalcount @RequestId = requestid end |
Instance Attribute Details
#PushLogs ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。
5379 5380 5381 |
# File 'lib/v20180606/models.rb', line 5379 def PushLogs @PushLogs end |
#RequestId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。
5379 5380 5381 |
# File 'lib/v20180606/models.rb', line 5379 def RequestId @RequestId end |
#TotalCount ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。
5379 5380 5381 |
# File 'lib/v20180606/models.rb', line 5379 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
5387 5388 5389 5390 5391 5392 5393 5394 5395 5396 5397 5398 |
# File 'lib/v20180606/models.rb', line 5387 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 |