Class: TencentCloud::Cdwch::V20200915::GroupInfo

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

Overview

集群分组信息描述

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(groupname = nil, shardname = nil, replicaname = nil) ⇒ GroupInfo

Returns a new instance of GroupInfo.



1914
1915
1916
1917
1918
# File 'lib/v20200915/models.rb', line 1914

def initialize(groupname=nil, shardname=nil, replicaname=nil)
  @GroupName = groupname
  @ShardName = shardname
  @ReplicaName = replicaname
end

Instance Attribute Details

#GroupNameObject

Parameters:

  • 分组名称

  • 分片变量名称

  • 副本变量名称



1912
1913
1914
# File 'lib/v20200915/models.rb', line 1912

def GroupName
  @GroupName
end

#ReplicaNameObject

Parameters:

  • 分组名称

  • 分片变量名称

  • 副本变量名称



1912
1913
1914
# File 'lib/v20200915/models.rb', line 1912

def ReplicaName
  @ReplicaName
end

#ShardNameObject

Parameters:

  • 分组名称

  • 分片变量名称

  • 副本变量名称



1912
1913
1914
# File 'lib/v20200915/models.rb', line 1912

def ShardName
  @ShardName
end

Instance Method Details

#deserialize(params) ⇒ Object



1920
1921
1922
1923
1924
# File 'lib/v20200915/models.rb', line 1920

def deserialize(params)
  @GroupName = params['GroupName']
  @ShardName = params['ShardName']
  @ReplicaName = params['ReplicaName']
end