Class: TencentCloud::Ssl::V20191205::ClbInstanceList
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Ssl::V20191205::ClbInstanceList
- Defined in:
- lib/v20191205/models.rb
Overview
clb实例详情 - 异步关联云资源数据结构
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(region = nil, instancelist = nil, totalcount = nil, error = nil) ⇒ ClbInstanceList
constructor
A new instance of ClbInstanceList.
Constructor Details
#initialize(region = nil, instancelist = nil, totalcount = nil, error = nil) ⇒ ClbInstanceList
Returns a new instance of ClbInstanceList.
1266 1267 1268 1269 1270 1271 |
# File 'lib/v20191205/models.rb', line 1266 def initialize(region=nil, instancelist=nil, totalcount=nil, error=nil) @Region = region @InstanceList = instancelist @TotalCount = totalcount @Error = error end |
Instance Attribute Details
#Error ⇒ Object
1264 1265 1266 |
# File 'lib/v20191205/models.rb', line 1264 def Error @Error end |
#InstanceList ⇒ Object
1264 1265 1266 |
# File 'lib/v20191205/models.rb', line 1264 def InstanceList @InstanceList end |
#Region ⇒ Object
1264 1265 1266 |
# File 'lib/v20191205/models.rb', line 1264 def Region @Region end |
#TotalCount ⇒ Object
1264 1265 1266 |
# File 'lib/v20191205/models.rb', line 1264 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 |
# File 'lib/v20191205/models.rb', line 1273 def deserialize(params) @Region = params['Region'] unless params['InstanceList'].nil? @InstanceList = [] params['InstanceList'].each do |i| clbinstancedetail_tmp = ClbInstanceDetail.new clbinstancedetail_tmp.deserialize(i) @InstanceList << clbinstancedetail_tmp end end @TotalCount = params['TotalCount'] @Error = params['Error'] end |