Class: TencentCloud::Cdn::V20180606::DescribePushTasksResponse

Inherits:
TencentCloud::Common::AbstractModel
  • Object
show all
Defined in:
lib/v20180606/models.rb

Overview

DescribePushTasks返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#PushLogsObject



4038
4039
4040
# File 'lib/v20180606/models.rb', line 4038

def PushLogs
  @PushLogs
end

#RequestIdObject



4038
4039
4040
# File 'lib/v20180606/models.rb', line 4038

def RequestId
  @RequestId
end

#TotalCountObject



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