Class: TencentCloud::Ssl::V20191205::SCFInstanceList
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Ssl::V20191205::SCFInstanceList
- Defined in:
- lib/v20191205/models.rb
Overview
SCF实例详情 - 异步关联云资源数据结构
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(region = nil, instancelist = nil, error = nil, totalcount = nil) ⇒ SCFInstanceList
constructor
A new instance of SCFInstanceList.
Constructor Details
#initialize(region = nil, instancelist = nil, error = nil, totalcount = nil) ⇒ SCFInstanceList
Returns a new instance of SCFInstanceList.
6997 6998 6999 7000 7001 7002 |
# File 'lib/v20191205/models.rb', line 6997 def initialize(region=nil, instancelist=nil, error=nil, totalcount=nil) @Region = region @InstanceList = instancelist @Error = error @TotalCount = totalcount end |
Instance Attribute Details
#Error ⇒ Object
6995 6996 6997 |
# File 'lib/v20191205/models.rb', line 6995 def Error @Error end |
#InstanceList ⇒ Object
6995 6996 6997 |
# File 'lib/v20191205/models.rb', line 6995 def InstanceList @InstanceList end |
#Region ⇒ Object
6995 6996 6997 |
# File 'lib/v20191205/models.rb', line 6995 def Region @Region end |
#TotalCount ⇒ Object
6995 6996 6997 |
# File 'lib/v20191205/models.rb', line 6995 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
7004 7005 7006 7007 7008 7009 7010 7011 7012 7013 7014 7015 7016 |
# File 'lib/v20191205/models.rb', line 7004 def deserialize(params) @Region = params['Region'] unless params['InstanceList'].nil? @InstanceList = [] params['InstanceList'].each do |i| scfinstancedetail_tmp = SCFInstanceDetail.new scfinstancedetail_tmp.deserialize(i) @InstanceList << scfinstancedetail_tmp end end @Error = params['Error'] @TotalCount = params['TotalCount'] end |