Class: TencentCloud::Ssl::V20191205::TDMQInstanceList
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Ssl::V20191205::TDMQInstanceList
- Defined in:
- lib/v20191205/models.rb
Overview
TDMQ - Rabbit实例详情 - 异步关联云资源数据结构
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(region = nil, instancelist = nil, totalcount = nil, error = nil) ⇒ TDMQInstanceList
constructor
A new instance of TDMQInstanceList.
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
#Error ⇒ Object
7680 7681 7682 |
# File 'lib/v20191205/models.rb', line 7680 def Error @Error end |
#InstanceList ⇒ Object
7680 7681 7682 |
# File 'lib/v20191205/models.rb', line 7680 def InstanceList @InstanceList end |
#Region ⇒ Object
7680 7681 7682 |
# File 'lib/v20191205/models.rb', line 7680 def Region @Region end |
#TotalCount ⇒ Object
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 |