Class: TencentCloud::Vod::V20180717::DescribeCLSPushTargetsResponse

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

Overview

DescribeCLSPushTargets返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(totalcount = nil, domainclstargets = nil, requestid = nil) ⇒ DescribeCLSPushTargetsResponse



10187
10188
10189
10190
10191
# File 'lib/v20180717/models.rb', line 10187

def initialize(totalcount=nil, domainclstargets=nil, requestid=nil)
  @TotalCount = totalcount
  @DomainCLSTargets = domainclstargets
  @RequestId = requestid
end

Instance Attribute Details

#DomainCLSTargetsObject



10185
10186
10187
# File 'lib/v20180717/models.rb', line 10185

def DomainCLSTargets
  @DomainCLSTargets
end

#RequestIdObject



10185
10186
10187
# File 'lib/v20180717/models.rb', line 10185

def RequestId
  @RequestId
end

#TotalCountObject



10185
10186
10187
# File 'lib/v20180717/models.rb', line 10185

def TotalCount
  @TotalCount
end

Instance Method Details

#deserialize(params) ⇒ Object



10193
10194
10195
10196
10197
10198
10199
10200
10201
10202
10203
10204
# File 'lib/v20180717/models.rb', line 10193

def deserialize(params)
  @TotalCount = params['TotalCount']
  unless params['DomainCLSTargets'].nil?
    @DomainCLSTargets = []
    params['DomainCLSTargets'].each do |i|
      domainclstargetinfo_tmp = DomainCLSTargetInfo.new
      domainclstargetinfo_tmp.deserialize(i)
      @DomainCLSTargets << domainclstargetinfo_tmp
    end
  end
  @RequestId = params['RequestId']
end