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.
10251 10252 10253 10254 10255 10256 |
# File 'lib/v20190423/models.rb', line 10251 def initialize(licensetype=nil, totalnum=nil, usednum=nil, twecalllicense=nil) @LicenseType = licensetype @TotalNum = totalnum @UsedNum = usednum @TWeCallLicense = twecalllicense end |
Instance Attribute Details
#LicenseType ⇒ Object
10249 10250 10251 |
# File 'lib/v20190423/models.rb', line 10249 def LicenseType @LicenseType end |
#TotalNum ⇒ Object
10249 10250 10251 |
# File 'lib/v20190423/models.rb', line 10249 def TotalNum @TotalNum end |
#TWeCallLicense ⇒ Object
10249 10250 10251 |
# File 'lib/v20190423/models.rb', line 10249 def TWeCallLicense @TWeCallLicense end |
#UsedNum ⇒ Object
10249 10250 10251 |
# File 'lib/v20190423/models.rb', line 10249 def UsedNum @UsedNum end |
Instance Method Details
#deserialize(params) ⇒ Object
10258 10259 10260 10261 10262 10263 10264 10265 10266 10267 10268 10269 10270 |
# File 'lib/v20190423/models.rb', line 10258 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 |