Class: TencentCloud::Zj::V20190121::MmsInstanceInfoList
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Zj::V20190121::MmsInstanceInfoList
- Defined in:
- lib/v20190121/models.rb
Overview
彩信实例状态列表
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(total = nil, list = nil) ⇒ MmsInstanceInfoList
constructor
A new instance of MmsInstanceInfoList.
Constructor Details
#initialize(total = nil, list = nil) ⇒ MmsInstanceInfoList
Returns a new instance of MmsInstanceInfoList.
1249 1250 1251 1252 |
# File 'lib/v20190121/models.rb', line 1249 def initialize(total=nil, list=nil) @Total = total @List = list end |
Instance Attribute Details
#List ⇒ Object
1247 1248 1249 |
# File 'lib/v20190121/models.rb', line 1247 def List @List end |
#Total ⇒ Object
1247 1248 1249 |
# File 'lib/v20190121/models.rb', line 1247 def Total @Total end |
Instance Method Details
#deserialize(params) ⇒ Object
1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 |
# File 'lib/v20190121/models.rb', line 1254 def deserialize(params) @Total = params['Total'] unless params['List'].nil? @List = [] params['List'].each do |i| mmsinstanceinfo_tmp = MmsInstanceInfo.new mmsinstanceinfo_tmp.deserialize(i) @List << mmsinstanceinfo_tmp end end end |