Class: TencentCloud::Ssl::V20191205::MQTTInstanceList
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Ssl::V20191205::MQTTInstanceList
- Defined in:
- lib/v20191205/models.rb
Overview
MQTT实例详情 - 异步关联云资源数据结构
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(region = nil, instancelist = nil, totalcount = nil, error = nil) ⇒ MQTTInstanceList
constructor
A new instance of MQTTInstanceList.
Constructor Details
#initialize(region = nil, instancelist = nil, totalcount = nil, error = nil) ⇒ MQTTInstanceList
Returns a new instance of MQTTInstanceList.
6182 6183 6184 6185 6186 6187 |
# File 'lib/v20191205/models.rb', line 6182 def initialize(region=nil, instancelist=nil, totalcount=nil, error=nil) @Region = region @InstanceList = instancelist @TotalCount = totalcount @Error = error end |
Instance Attribute Details
#Error ⇒ Object
6180 6181 6182 |
# File 'lib/v20191205/models.rb', line 6180 def Error @Error end |
#InstanceList ⇒ Object
6180 6181 6182 |
# File 'lib/v20191205/models.rb', line 6180 def InstanceList @InstanceList end |
#Region ⇒ Object
6180 6181 6182 |
# File 'lib/v20191205/models.rb', line 6180 def Region @Region end |
#TotalCount ⇒ Object
6180 6181 6182 |
# File 'lib/v20191205/models.rb', line 6180 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
6189 6190 6191 6192 6193 6194 6195 6196 6197 6198 6199 6200 6201 |
# File 'lib/v20191205/models.rb', line 6189 def deserialize(params) @Region = params['Region'] unless params['InstanceList'].nil? @InstanceList = [] params['InstanceList'].each do |i| mqttinstancedetail_tmp = MQTTInstanceDetail.new mqttinstancedetail_tmp.deserialize(i) @InstanceList << mqttinstancedetail_tmp end end @TotalCount = params['TotalCount'] @Error = params['Error'] end |