Class: TencentCloud::Tcaplusdb::V20190823::ModifyClusterNameRequest

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

Overview

ModifyClusterName请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(clusterid = nil, clustername = nil) ⇒ ModifyClusterNameRequest

Returns a new instance of ModifyClusterNameRequest.



2922
2923
2924
2925
# File 'lib/v20190823/models.rb', line 2922

def initialize(clusterid=nil, clustername=nil)
  @ClusterId = clusterid
  @ClusterName = clustername
end

Instance Attribute Details

#ClusterIdObject

Parameters:

  • ClusterId:

    需要修改名称的集群ID

  • ClusterName:

    需要修改的集群名称,可使用中文或英文字符,最大长度32个字符



2920
2921
2922
# File 'lib/v20190823/models.rb', line 2920

def ClusterId
  @ClusterId
end

#ClusterNameObject

Parameters:

  • ClusterId:

    需要修改名称的集群ID

  • ClusterName:

    需要修改的集群名称,可使用中文或英文字符,最大长度32个字符



2920
2921
2922
# File 'lib/v20190823/models.rb', line 2920

def ClusterName
  @ClusterName
end

Instance Method Details

#deserialize(params) ⇒ Object



2927
2928
2929
2930
# File 'lib/v20190823/models.rb', line 2927

def deserialize(params)
  @ClusterId = params['ClusterId']
  @ClusterName = params['ClusterName']
end