Class: TencentCloud::Ssl::V20191205::MQTTInstanceList

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

Overview

MQTT实例详情 - 异步关联云资源数据结构

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#ErrorObject

Parameters:

  • Region:

    地域

  • InstanceList:

    实例详情

  • TotalCount:

    地域下总数

  • Error:

    错误信息



6180
6181
6182
# File 'lib/v20191205/models.rb', line 6180

def Error
  @Error
end

#InstanceListObject

Parameters:

  • Region:

    地域

  • InstanceList:

    实例详情

  • TotalCount:

    地域下总数

  • Error:

    错误信息



6180
6181
6182
# File 'lib/v20191205/models.rb', line 6180

def InstanceList
  @InstanceList
end

#RegionObject

Parameters:

  • Region:

    地域

  • InstanceList:

    实例详情

  • TotalCount:

    地域下总数

  • Error:

    错误信息



6180
6181
6182
# File 'lib/v20191205/models.rb', line 6180

def Region
  @Region
end

#TotalCountObject

Parameters:

  • Region:

    地域

  • InstanceList:

    实例详情

  • TotalCount:

    地域下总数

  • Error:

    错误信息



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