Class: TencentCloud::Tke::V20180525::DescribeClusterReleaseHistoryRequest

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

Overview

DescribeClusterReleaseHistory请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(clusterid = nil, name = nil, namespace = nil, clustertype = nil) ⇒ DescribeClusterReleaseHistoryRequest

Returns a new instance of DescribeClusterReleaseHistoryRequest.



6381
6382
6383
6384
6385
6386
# File 'lib/v20180525/models.rb', line 6381

def initialize(clusterid=nil, name=nil, namespace=nil, clustertype=nil)
  @ClusterId = clusterid
  @Name = name
  @Namespace = namespace
  @ClusterType = clustertype
end

Instance Attribute Details

#ClusterIdObject

Parameters:

  • ClusterId:

    集群ID

  • Name:

    应用名称

  • Namespace:

    应用所在命名空间

  • ClusterType:

    集群类型



6379
6380
6381
# File 'lib/v20180525/models.rb', line 6379

def ClusterId
  @ClusterId
end

#ClusterTypeObject

Parameters:

  • ClusterId:

    集群ID

  • Name:

    应用名称

  • Namespace:

    应用所在命名空间

  • ClusterType:

    集群类型



6379
6380
6381
# File 'lib/v20180525/models.rb', line 6379

def ClusterType
  @ClusterType
end

#NameObject

Parameters:

  • ClusterId:

    集群ID

  • Name:

    应用名称

  • Namespace:

    应用所在命名空间

  • ClusterType:

    集群类型



6379
6380
6381
# File 'lib/v20180525/models.rb', line 6379

def Name
  @Name
end

#NamespaceObject

Parameters:

  • ClusterId:

    集群ID

  • Name:

    应用名称

  • Namespace:

    应用所在命名空间

  • ClusterType:

    集群类型



6379
6380
6381
# File 'lib/v20180525/models.rb', line 6379

def Namespace
  @Namespace
end

Instance Method Details

#deserialize(params) ⇒ Object



6388
6389
6390
6391
6392
6393
# File 'lib/v20180525/models.rb', line 6388

def deserialize(params)
  @ClusterId = params['ClusterId']
  @Name = params['Name']
  @Namespace = params['Namespace']
  @ClusterType = params['ClusterType']
end