Class: TencentCloud::Ssl::V20191205::TkeInstanceList

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

Overview

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(region = nil, instancelist = nil, totalcount = nil, error = nil) ⇒ TkeInstanceList

Returns a new instance of TkeInstanceList.



7941
7942
7943
7944
7945
7946
# File 'lib/v20191205/models.rb', line 7941

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

Instance Attribute Details

#ErrorObject

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

Parameters:

  • Region:

    地域

  • InstanceList:

    tke实例详情

  • TotalCount:

    该地域下tke实例总数

  • Error:

    是否查询异常



7939
7940
7941
# File 'lib/v20191205/models.rb', line 7939

def Error
  @Error
end

#InstanceListObject

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

Parameters:

  • Region:

    地域

  • InstanceList:

    tke实例详情

  • TotalCount:

    该地域下tke实例总数

  • Error:

    是否查询异常



7939
7940
7941
# File 'lib/v20191205/models.rb', line 7939

def InstanceList
  @InstanceList
end

#RegionObject

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

Parameters:

  • Region:

    地域

  • InstanceList:

    tke实例详情

  • TotalCount:

    该地域下tke实例总数

  • Error:

    是否查询异常



7939
7940
7941
# File 'lib/v20191205/models.rb', line 7939

def Region
  @Region
end

#TotalCountObject

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

Parameters:

  • Region:

    地域

  • InstanceList:

    tke实例详情

  • TotalCount:

    该地域下tke实例总数

  • Error:

    是否查询异常



7939
7940
7941
# File 'lib/v20191205/models.rb', line 7939

def TotalCount
  @TotalCount
end

Instance Method Details

#deserialize(params) ⇒ Object



7948
7949
7950
7951
7952
7953
7954
7955
7956
7957
7958
7959
7960
# File 'lib/v20191205/models.rb', line 7948

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