Class: TencentCloud::Ssl::V20191205::TeoInstanceList

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

Overview

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

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

Returns a new instance of TeoInstanceList.



7843
7844
7845
7846
7847
# File 'lib/v20191205/models.rb', line 7843

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

Instance Attribute Details

#ErrorObject

注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • InstanceList:

    edgeone实例详情

  • TotalCount:

    edgeone实例总数

  • Error:

    是否查询异常



7841
7842
7843
# File 'lib/v20191205/models.rb', line 7841

def Error
  @Error
end

#InstanceListObject

注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • InstanceList:

    edgeone实例详情

  • TotalCount:

    edgeone实例总数

  • Error:

    是否查询异常



7841
7842
7843
# File 'lib/v20191205/models.rb', line 7841

def InstanceList
  @InstanceList
end

#TotalCountObject

注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • InstanceList:

    edgeone实例详情

  • TotalCount:

    edgeone实例总数

  • Error:

    是否查询异常



7841
7842
7843
# File 'lib/v20191205/models.rb', line 7841

def TotalCount
  @TotalCount
end

Instance Method Details

#deserialize(params) ⇒ Object



7849
7850
7851
7852
7853
7854
7855
7856
7857
7858
7859
7860
# File 'lib/v20191205/models.rb', line 7849

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