Class: TencentCloud::Tdmq::V20200217::ModifyRocketMQRoleRequest

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

Overview

ModifyRocketMQRole请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(rolename = nil, clusterid = nil, remark = nil) ⇒ ModifyRocketMQRoleRequest

Returns a new instance of ModifyRocketMQRoleRequest.



9382
9383
9384
9385
9386
# File 'lib/v20200217/models.rb', line 9382

def initialize(rolename=nil, clusterid=nil, remark=nil)
  @RoleName = rolename
  @ClusterId = clusterid
  @Remark = remark
end

Instance Attribute Details

#ClusterIdObject

Parameters:

  • RoleName:

    角色名称,不支持中字以及除了短线和下划线外的特殊字符且长度必须大于0且小等于32。

  • ClusterId:

    必填字段,集群Id

  • Remark:

    备注说明,长度必须大等于0且小等于128。



9380
9381
9382
# File 'lib/v20200217/models.rb', line 9380

def ClusterId
  @ClusterId
end

#RemarkObject

Parameters:

  • RoleName:

    角色名称,不支持中字以及除了短线和下划线外的特殊字符且长度必须大于0且小等于32。

  • ClusterId:

    必填字段,集群Id

  • Remark:

    备注说明,长度必须大等于0且小等于128。



9380
9381
9382
# File 'lib/v20200217/models.rb', line 9380

def Remark
  @Remark
end

#RoleNameObject

Parameters:

  • RoleName:

    角色名称,不支持中字以及除了短线和下划线外的特殊字符且长度必须大于0且小等于32。

  • ClusterId:

    必填字段,集群Id

  • Remark:

    备注说明,长度必须大等于0且小等于128。



9380
9381
9382
# File 'lib/v20200217/models.rb', line 9380

def RoleName
  @RoleName
end

Instance Method Details

#deserialize(params) ⇒ Object



9388
9389
9390
9391
9392
# File 'lib/v20200217/models.rb', line 9388

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