Class: TencentCloud::Zj::V20190121::MmsInstanceInfoList

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

Overview

彩信实例状态列表

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#ListObject

Parameters:

  • Total:

    总数据量

  • List:

    彩信实例状态信息列表



1247
1248
1249
# File 'lib/v20190121/models.rb', line 1247

def List
  @List
end

#TotalObject

Parameters:

  • Total:

    总数据量

  • List:

    彩信实例状态信息列表



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