Class: TencentCloud::Ssl::V20191205::GAAPInstanceList

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

Overview

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(instancelist = nil, totalcount = nil, error = nil) ⇒ GAAPInstanceList

Returns a new instance of GAAPInstanceList.



5929
5930
5931
5932
5933
# File 'lib/v20191205/models.rb', line 5929

def initialize(instancelist=nil, totalcount=nil, error=nil)
  @InstanceList = instancelist
  @TotalCount = totalcount
  @Error = error
end

Instance Attribute Details

#ErrorObject

Parameters:

  • InstanceList:

    实例详情

  • TotalCount:

    总数

  • Error:

    错误信息



5927
5928
5929
# File 'lib/v20191205/models.rb', line 5927

def Error
  @Error
end

#InstanceListObject

Parameters:

  • InstanceList:

    实例详情

  • TotalCount:

    总数

  • Error:

    错误信息



5927
5928
5929
# File 'lib/v20191205/models.rb', line 5927

def InstanceList
  @InstanceList
end

#TotalCountObject

Parameters:

  • InstanceList:

    实例详情

  • TotalCount:

    总数

  • Error:

    错误信息



5927
5928
5929
# File 'lib/v20191205/models.rb', line 5927

def TotalCount
  @TotalCount
end

Instance Method Details

#deserialize(params) ⇒ Object



5935
5936
5937
5938
5939
5940
5941
5942
5943
5944
5945
5946
# File 'lib/v20191205/models.rb', line 5935

def deserialize(params)
  unless params['InstanceList'].nil?
    @InstanceList = []
    params['InstanceList'].each do |i|
      gaapinstancedetail_tmp = GAAPInstanceDetail.new
      gaapinstancedetail_tmp.deserialize(i)
      @InstanceList << gaapinstancedetail_tmp
    end
  end
  @TotalCount = params['TotalCount']
  @Error = params['Error']
end