Class: TencentCloud::Ssl::V20191205::COSInstanceList
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Ssl::V20191205::COSInstanceList
- Defined in:
- lib/v20191205/models.rb
Overview
cos实例详情 - 异步关联云资源数据结构
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(region = nil, instancelist = nil, totalcount = nil, error = nil) ⇒ COSInstanceList
constructor
A new instance of COSInstanceList.
Constructor Details
#initialize(region = nil, instancelist = nil, totalcount = nil, error = nil) ⇒ COSInstanceList
Returns a new instance of COSInstanceList.
266 267 268 269 270 271 |
# File 'lib/v20191205/models.rb', line 266 def initialize(region=nil, instancelist=nil, totalcount=nil, error=nil) @Region = region @InstanceList = instancelist @TotalCount = totalcount @Error = error end |
Instance Attribute Details
#Error ⇒ Object
264 265 266 |
# File 'lib/v20191205/models.rb', line 264 def Error @Error end |
#InstanceList ⇒ Object
264 265 266 |
# File 'lib/v20191205/models.rb', line 264 def InstanceList @InstanceList end |
#Region ⇒ Object
264 265 266 |
# File 'lib/v20191205/models.rb', line 264 def Region @Region end |
#TotalCount ⇒ Object
264 265 266 |
# File 'lib/v20191205/models.rb', line 264 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
273 274 275 276 277 278 279 280 281 282 283 284 285 |
# File 'lib/v20191205/models.rb', line 273 def deserialize(params) @Region = params['Region'] unless params['InstanceList'].nil? @InstanceList = [] params['InstanceList'].each do |i| cosinstancedetail_tmp = CosInstanceDetail.new cosinstancedetail_tmp.deserialize(i) @InstanceList << cosinstancedetail_tmp end end @TotalCount = params['TotalCount'] @Error = params['Error'] end |