Class: TencentCloud::Ssl::V20191205::TkeInstanceDetail

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(clusterid = nil, clustername = nil, namespacelist = nil, clustertype = nil, clusterversion = nil) ⇒ TkeInstanceDetail

Returns a new instance of TkeInstanceDetail.



7902
7903
7904
7905
7906
7907
7908
# File 'lib/v20191205/models.rb', line 7902

def initialize(clusterid=nil, clustername=nil, namespacelist=nil, clustertype=nil, clusterversion=nil)
  @ClusterId = clusterid
  @ClusterName = clustername
  @NamespaceList = namespacelist
  @ClusterType = clustertype
  @ClusterVersion = clusterversion
end

Instance Attribute Details

#ClusterIdObject

Parameters:

  • ClusterId:

    集群ID

  • ClusterName:

    集群名称

  • NamespaceList:

    集群命名空间列表

  • ClusterType:

    集群类型

  • ClusterVersion:

    集群版本



7900
7901
7902
# File 'lib/v20191205/models.rb', line 7900

def ClusterId
  @ClusterId
end

#ClusterNameObject

Parameters:

  • ClusterId:

    集群ID

  • ClusterName:

    集群名称

  • NamespaceList:

    集群命名空间列表

  • ClusterType:

    集群类型

  • ClusterVersion:

    集群版本



7900
7901
7902
# File 'lib/v20191205/models.rb', line 7900

def ClusterName
  @ClusterName
end

#ClusterTypeObject

Parameters:

  • ClusterId:

    集群ID

  • ClusterName:

    集群名称

  • NamespaceList:

    集群命名空间列表

  • ClusterType:

    集群类型

  • ClusterVersion:

    集群版本



7900
7901
7902
# File 'lib/v20191205/models.rb', line 7900

def ClusterType
  @ClusterType
end

#ClusterVersionObject

Parameters:

  • ClusterId:

    集群ID

  • ClusterName:

    集群名称

  • NamespaceList:

    集群命名空间列表

  • ClusterType:

    集群类型

  • ClusterVersion:

    集群版本



7900
7901
7902
# File 'lib/v20191205/models.rb', line 7900

def ClusterVersion
  @ClusterVersion
end

#NamespaceListObject

Parameters:

  • ClusterId:

    集群ID

  • ClusterName:

    集群名称

  • NamespaceList:

    集群命名空间列表

  • ClusterType:

    集群类型

  • ClusterVersion:

    集群版本



7900
7901
7902
# File 'lib/v20191205/models.rb', line 7900

def NamespaceList
  @NamespaceList
end

Instance Method Details

#deserialize(params) ⇒ Object



7910
7911
7912
7913
7914
7915
7916
7917
7918
7919
7920
7921
7922
7923
# File 'lib/v20191205/models.rb', line 7910

def deserialize(params)
  @ClusterId = params['ClusterId']
  @ClusterName = params['ClusterName']
  unless params['NamespaceList'].nil?
    @NamespaceList = []
    params['NamespaceList'].each do |i|
      tkenamespacedetail_tmp = TkeNameSpaceDetail.new
      tkenamespacedetail_tmp.deserialize(i)
      @NamespaceList << tkenamespacedetail_tmp
    end
  end
  @ClusterType = params['ClusterType']
  @ClusterVersion = params['ClusterVersion']
end