Class: TencentCloud::Ssl::V20191205::TDMQInstanceList

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

Overview

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(region = nil, instancelist = nil, totalcount = nil, error = nil) ⇒ TDMQInstanceList

Returns a new instance of TDMQInstanceList.



7682
7683
7684
7685
7686
7687
# File 'lib/v20191205/models.rb', line 7682

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:

    错误信息



7680
7681
7682
# File 'lib/v20191205/models.rb', line 7680

def Error
  @Error
end

#InstanceListObject

Parameters:

  • Region:

    地域

  • InstanceList:

    实例详情

  • TotalCount:

    地域下总数

  • Error:

    错误信息



7680
7681
7682
# File 'lib/v20191205/models.rb', line 7680

def InstanceList
  @InstanceList
end

#RegionObject

Parameters:

  • Region:

    地域

  • InstanceList:

    实例详情

  • TotalCount:

    地域下总数

  • Error:

    错误信息



7680
7681
7682
# File 'lib/v20191205/models.rb', line 7680

def Region
  @Region
end

#TotalCountObject

Parameters:

  • Region:

    地域

  • InstanceList:

    实例详情

  • TotalCount:

    地域下总数

  • Error:

    错误信息



7680
7681
7682
# File 'lib/v20191205/models.rb', line 7680

def TotalCount
  @TotalCount
end

Instance Method Details

#deserialize(params) ⇒ Object



7689
7690
7691
7692
7693
7694
7695
7696
7697
7698
7699
7700
7701
# File 'lib/v20191205/models.rb', line 7689

def deserialize(params)
  @Region = params['Region']
  unless params['InstanceList'].nil?
    @InstanceList = []
    params['InstanceList'].each do |i|
      tdmqinstancedetail_tmp = TDMQInstanceDetail.new
      tdmqinstancedetail_tmp.deserialize(i)
      @InstanceList << tdmqinstancedetail_tmp
    end
  end
  @TotalCount = params['TotalCount']
  @Error = params['Error']
end