Class: TencentCloud::Iotexplorer::V20190423::LicenseServiceNumInfo
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Iotexplorer::V20190423::LicenseServiceNumInfo
- Defined in:
- lib/v20190423/models.rb
Overview
增值服务数量统计
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(licensetype = nil, totalnum = nil, usednum = nil, twecalllicense = nil) ⇒ LicenseServiceNumInfo
constructor
A new instance of LicenseServiceNumInfo.
Constructor Details
#initialize(licensetype = nil, totalnum = nil, usednum = nil, twecalllicense = nil) ⇒ LicenseServiceNumInfo
Returns a new instance of LicenseServiceNumInfo.
10267 10268 10269 10270 10271 10272 |
# File 'lib/v20190423/models.rb', line 10267 def initialize(licensetype=nil, totalnum=nil, usednum=nil, twecalllicense=nil) @LicenseType = licensetype @TotalNum = totalnum @UsedNum = usednum @TWeCallLicense = twecalllicense end |
Instance Attribute Details
#LicenseType ⇒ Object
10265 10266 10267 |
# File 'lib/v20190423/models.rb', line 10265 def LicenseType @LicenseType end |
#TotalNum ⇒ Object
10265 10266 10267 |
# File 'lib/v20190423/models.rb', line 10265 def TotalNum @TotalNum end |
#TWeCallLicense ⇒ Object
10265 10266 10267 |
# File 'lib/v20190423/models.rb', line 10265 def TWeCallLicense @TWeCallLicense end |
#UsedNum ⇒ Object
10265 10266 10267 |
# File 'lib/v20190423/models.rb', line 10265 def UsedNum @UsedNum end |
Instance Method Details
#deserialize(params) ⇒ Object
10274 10275 10276 10277 10278 10279 10280 10281 10282 10283 10284 10285 10286 |
# File 'lib/v20190423/models.rb', line 10274 def deserialize(params) @LicenseType = params['LicenseType'] @TotalNum = params['TotalNum'] @UsedNum = params['UsedNum'] unless params['TWeCallLicense'].nil? @TWeCallLicense = [] params['TWeCallLicense'].each do |i| twecalllicenseinfo_tmp = TWeCallLicenseInfo.new twecalllicenseinfo_tmp.deserialize(i) @TWeCallLicense << twecalllicenseinfo_tmp end end end |