Class: TencentCloud::Ccc::V20200210::DescribeProtectedTelCdrResponse
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Ccc::V20200210::DescribeProtectedTelCdrResponse
- Extended by:
- Gem::Deprecate
- Defined in:
- lib/v20200210/models.rb
Overview
DescribeProtectedTelCdr返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(totalcount = nil, telcdrs = nil, telcdrlist = nil, requestid = nil) ⇒ DescribeProtectedTelCdrResponse
constructor
A new instance of DescribeProtectedTelCdrResponse.
Constructor Details
#initialize(totalcount = nil, telcdrs = nil, telcdrlist = nil, requestid = nil) ⇒ DescribeProtectedTelCdrResponse
Returns a new instance of DescribeProtectedTelCdrResponse.
4164 4165 4166 4167 4168 4169 |
# File 'lib/v20200210/models.rb', line 4164 def initialize(totalcount=nil, telcdrs=nil, telcdrlist=nil, requestid=nil) @TotalCount = totalcount @TelCdrs = telcdrs @TelCdrList = telcdrlist @RequestId = requestid end |
Instance Attribute Details
#RequestId ⇒ Object
4159 4160 4161 |
# File 'lib/v20200210/models.rb', line 4159 def RequestId @RequestId end |
#TelCdrList ⇒ Object
4159 4160 4161 |
# File 'lib/v20200210/models.rb', line 4159 def TelCdrList @TelCdrList end |
#TelCdrs ⇒ Object
4159 4160 4161 |
# File 'lib/v20200210/models.rb', line 4159 def TelCdrs @TelCdrs end |
#TotalCount ⇒ Object
4159 4160 4161 |
# File 'lib/v20200210/models.rb', line 4159 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
4171 4172 4173 4174 4175 4176 4177 4178 4179 4180 4181 4182 4183 4184 4185 4186 4187 4188 4189 4190 |
# File 'lib/v20200210/models.rb', line 4171 def deserialize(params) @TotalCount = params['TotalCount'] unless params['TelCdrs'].nil? @TelCdrs = [] params['TelCdrs'].each do |i| telcdrinfo_tmp = TelCdrInfo.new telcdrinfo_tmp.deserialize(i) @TelCdrs << telcdrinfo_tmp end end unless params['TelCdrList'].nil? @TelCdrList = [] params['TelCdrList'].each do |i| telcdrinfo_tmp = TelCdrInfo.new telcdrinfo_tmp.deserialize(i) @TelCdrList << telcdrinfo_tmp end end @RequestId = params['RequestId'] end |