Class: TencentCloud::Tdmq::V20200217::CreateRocketMQGroupRequest

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

Overview

CreateRocketMQGroup请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(groupid = nil, namespaces = nil, readenable = nil, broadcastenable = nil, clusterid = nil, remark = nil, grouptype = nil, retrymaxtimes = nil) ⇒ CreateRocketMQGroupRequest

Returns a new instance of CreateRocketMQGroupRequest.



2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
# File 'lib/v20200217/models.rb', line 2017

def initialize(groupid=nil, namespaces=nil, readenable=nil, broadcastenable=nil, clusterid=nil, remark=nil, grouptype=nil, retrymaxtimes=nil)
  @GroupId = groupid
  @Namespaces = namespaces
  @ReadEnable = readenable
  @BroadcastEnable = broadcastenable
  @ClusterId = clusterid
  @Remark = remark
  @GroupType = grouptype
  @RetryMaxTimes = retrymaxtimes
end

Instance Attribute Details

#BroadcastEnableObject

Parameters:

  • GroupId:

    Group名称,8~64个字符

  • Namespaces:

    命名空间,目前只支持单个命名空间

  • ReadEnable:

    是否开启消费

  • BroadcastEnable:

    是否开启广播消费

  • ClusterId:

    集群ID

  • Remark:

    说明信息,最长128个字符

  • GroupType:

    Group类型(TCP/HTTP)

  • RetryMaxTimes:

    Group最大重试次数



2015
2016
2017
# File 'lib/v20200217/models.rb', line 2015

def BroadcastEnable
  @BroadcastEnable
end

#ClusterIdObject

Parameters:

  • GroupId:

    Group名称,8~64个字符

  • Namespaces:

    命名空间,目前只支持单个命名空间

  • ReadEnable:

    是否开启消费

  • BroadcastEnable:

    是否开启广播消费

  • ClusterId:

    集群ID

  • Remark:

    说明信息,最长128个字符

  • GroupType:

    Group类型(TCP/HTTP)

  • RetryMaxTimes:

    Group最大重试次数



2015
2016
2017
# File 'lib/v20200217/models.rb', line 2015

def ClusterId
  @ClusterId
end

#GroupIdObject

Parameters:

  • GroupId:

    Group名称,8~64个字符

  • Namespaces:

    命名空间,目前只支持单个命名空间

  • ReadEnable:

    是否开启消费

  • BroadcastEnable:

    是否开启广播消费

  • ClusterId:

    集群ID

  • Remark:

    说明信息,最长128个字符

  • GroupType:

    Group类型(TCP/HTTP)

  • RetryMaxTimes:

    Group最大重试次数



2015
2016
2017
# File 'lib/v20200217/models.rb', line 2015

def GroupId
  @GroupId
end

#GroupTypeObject

Parameters:

  • GroupId:

    Group名称,8~64个字符

  • Namespaces:

    命名空间,目前只支持单个命名空间

  • ReadEnable:

    是否开启消费

  • BroadcastEnable:

    是否开启广播消费

  • ClusterId:

    集群ID

  • Remark:

    说明信息,最长128个字符

  • GroupType:

    Group类型(TCP/HTTP)

  • RetryMaxTimes:

    Group最大重试次数



2015
2016
2017
# File 'lib/v20200217/models.rb', line 2015

def GroupType
  @GroupType
end

#NamespacesObject

Parameters:

  • GroupId:

    Group名称,8~64个字符

  • Namespaces:

    命名空间,目前只支持单个命名空间

  • ReadEnable:

    是否开启消费

  • BroadcastEnable:

    是否开启广播消费

  • ClusterId:

    集群ID

  • Remark:

    说明信息,最长128个字符

  • GroupType:

    Group类型(TCP/HTTP)

  • RetryMaxTimes:

    Group最大重试次数



2015
2016
2017
# File 'lib/v20200217/models.rb', line 2015

def Namespaces
  @Namespaces
end

#ReadEnableObject

Parameters:

  • GroupId:

    Group名称,8~64个字符

  • Namespaces:

    命名空间,目前只支持单个命名空间

  • ReadEnable:

    是否开启消费

  • BroadcastEnable:

    是否开启广播消费

  • ClusterId:

    集群ID

  • Remark:

    说明信息,最长128个字符

  • GroupType:

    Group类型(TCP/HTTP)

  • RetryMaxTimes:

    Group最大重试次数



2015
2016
2017
# File 'lib/v20200217/models.rb', line 2015

def ReadEnable
  @ReadEnable
end

#RemarkObject

Parameters:

  • GroupId:

    Group名称,8~64个字符

  • Namespaces:

    命名空间,目前只支持单个命名空间

  • ReadEnable:

    是否开启消费

  • BroadcastEnable:

    是否开启广播消费

  • ClusterId:

    集群ID

  • Remark:

    说明信息,最长128个字符

  • GroupType:

    Group类型(TCP/HTTP)

  • RetryMaxTimes:

    Group最大重试次数



2015
2016
2017
# File 'lib/v20200217/models.rb', line 2015

def Remark
  @Remark
end

#RetryMaxTimesObject

Parameters:

  • GroupId:

    Group名称,8~64个字符

  • Namespaces:

    命名空间,目前只支持单个命名空间

  • ReadEnable:

    是否开启消费

  • BroadcastEnable:

    是否开启广播消费

  • ClusterId:

    集群ID

  • Remark:

    说明信息,最长128个字符

  • GroupType:

    Group类型(TCP/HTTP)

  • RetryMaxTimes:

    Group最大重试次数



2015
2016
2017
# File 'lib/v20200217/models.rb', line 2015

def RetryMaxTimes
  @RetryMaxTimes
end

Instance Method Details

#deserialize(params) ⇒ Object



2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
# File 'lib/v20200217/models.rb', line 2028

def deserialize(params)
  @GroupId = params['GroupId']
  @Namespaces = params['Namespaces']
  @ReadEnable = params['ReadEnable']
  @BroadcastEnable = params['BroadcastEnable']
  @ClusterId = params['ClusterId']
  @Remark = params['Remark']
  @GroupType = params['GroupType']
  @RetryMaxTimes = params['RetryMaxTimes']
end