Class: TencentCloud::Ssl::V20191205::SCFInstanceList

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

Overview

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

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#ErrorObject

Parameters:

  • 地域

  • SCF实例详情

  • 错误信息

  • 地域下总数



6995
6996
6997
# File 'lib/v20191205/models.rb', line 6995

def Error
  @Error
end

#InstanceListObject

Parameters:

  • 地域

  • SCF实例详情

  • 错误信息

  • 地域下总数



6995
6996
6997
# File 'lib/v20191205/models.rb', line 6995

def InstanceList
  @InstanceList
end

#RegionObject

Parameters:

  • 地域

  • SCF实例详情

  • 错误信息

  • 地域下总数



6995
6996
6997
# File 'lib/v20191205/models.rb', line 6995

def Region
  @Region
end

#TotalCountObject

Parameters:

  • 地域

  • SCF实例详情

  • 错误信息

  • 地域下总数



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