Class: TencentCloud::Tke::V20180525::RollbackClusterReleaseRequest

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

Overview

RollbackClusterRelease请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

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

Returns a new instance of RollbackClusterReleaseRequest.



17723
17724
17725
17726
17727
17728
17729
# File 'lib/v20180525/models.rb', line 17723

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

Instance Attribute Details

#ClusterIdObject

Parameters:

  • ClusterId:

    集群ID

  • Name:

    应用名称

  • Namespace:

    应用命名空间

  • Revision:

    回滚版本号

  • ClusterType:

    集群类型



17721
17722
17723
# File 'lib/v20180525/models.rb', line 17721

def ClusterId
  @ClusterId
end

#ClusterTypeObject

Parameters:

  • ClusterId:

    集群ID

  • Name:

    应用名称

  • Namespace:

    应用命名空间

  • Revision:

    回滚版本号

  • ClusterType:

    集群类型



17721
17722
17723
# File 'lib/v20180525/models.rb', line 17721

def ClusterType
  @ClusterType
end

#NameObject

Parameters:

  • ClusterId:

    集群ID

  • Name:

    应用名称

  • Namespace:

    应用命名空间

  • Revision:

    回滚版本号

  • ClusterType:

    集群类型



17721
17722
17723
# File 'lib/v20180525/models.rb', line 17721

def Name
  @Name
end

#NamespaceObject

Parameters:

  • ClusterId:

    集群ID

  • Name:

    应用名称

  • Namespace:

    应用命名空间

  • Revision:

    回滚版本号

  • ClusterType:

    集群类型



17721
17722
17723
# File 'lib/v20180525/models.rb', line 17721

def Namespace
  @Namespace
end

#RevisionObject

Parameters:

  • ClusterId:

    集群ID

  • Name:

    应用名称

  • Namespace:

    应用命名空间

  • Revision:

    回滚版本号

  • ClusterType:

    集群类型



17721
17722
17723
# File 'lib/v20180525/models.rb', line 17721

def Revision
  @Revision
end

Instance Method Details

#deserialize(params) ⇒ Object



17731
17732
17733
17734
17735
17736
17737
# File 'lib/v20180525/models.rb', line 17731

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