Class: TencentCloud::Tdmq::V20200217::CreateRocketMQClusterRequest

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

Overview

CreateRocketMQCluster请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(name = nil, remark = nil) ⇒ CreateRocketMQClusterRequest

Returns a new instance of CreateRocketMQClusterRequest.



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

def initialize(name=nil, remark=nil)
  @Name = name
  @Remark = remark
end

Instance Attribute Details

#NameObject

Parameters:

  • Name:

    集群名称,3-64个字符,只能包含字母、数字、“-”及“_”

  • Remark:

    集群描述,128个字符以内



1919
1920
1921
# File 'lib/v20200217/models.rb', line 1919

def Name
  @Name
end

#RemarkObject

Parameters:

  • Name:

    集群名称,3-64个字符,只能包含字母、数字、“-”及“_”

  • Remark:

    集群描述,128个字符以内



1919
1920
1921
# File 'lib/v20200217/models.rb', line 1919

def Remark
  @Remark
end

Instance Method Details

#deserialize(params) ⇒ Object



1926
1927
1928
1929
# File 'lib/v20200217/models.rb', line 1926

def deserialize(params)
  @Name = params['Name']
  @Remark = params['Remark']
end