Class: TencentCloud::Tdmq::V20200217::CreateRocketMQRoleRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tdmq::V20200217::CreateRocketMQRoleRequest
- Defined in:
- lib/v20200217/models.rb
Overview
CreateRocketMQRole请求参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(rolename = nil, clusterid = nil, remark = nil) ⇒ CreateRocketMQRoleRequest
constructor
A new instance of CreateRocketMQRoleRequest.
Constructor Details
#initialize(rolename = nil, clusterid = nil, remark = nil) ⇒ CreateRocketMQRoleRequest
Returns a new instance of CreateRocketMQRoleRequest.
2115 2116 2117 2118 2119 |
# File 'lib/v20200217/models.rb', line 2115 def initialize(rolename=nil, clusterid=nil, remark=nil) @RoleName = rolename @ClusterId = clusterid @Remark = remark end |
Instance Attribute Details
#ClusterId ⇒ Object
2113 2114 2115 |
# File 'lib/v20200217/models.rb', line 2113 def ClusterId @ClusterId end |
#Remark ⇒ Object
2113 2114 2115 |
# File 'lib/v20200217/models.rb', line 2113 def Remark @Remark end |
#RoleName ⇒ Object
2113 2114 2115 |
# File 'lib/v20200217/models.rb', line 2113 def RoleName @RoleName end |
Instance Method Details
#deserialize(params) ⇒ Object
2121 2122 2123 2124 2125 |
# File 'lib/v20200217/models.rb', line 2121 def deserialize(params) @RoleName = params['RoleName'] @ClusterId = params['ClusterId'] @Remark = params['Remark'] end |