Class: TencentCloud::Tdmq::V20200217::CreateRoleRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tdmq::V20200217::CreateRoleRequest
- Defined in:
- lib/v20200217/models.rb
Overview
CreateRole请求参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(rolename = nil, remark = nil, clusterid = nil) ⇒ CreateRoleRequest
constructor
A new instance of CreateRoleRequest.
Constructor Details
#initialize(rolename = nil, remark = nil, clusterid = nil) ⇒ CreateRoleRequest
Returns a new instance of CreateRoleRequest.
2317 2318 2319 2320 2321 |
# File 'lib/v20200217/models.rb', line 2317 def initialize(rolename=nil, remark=nil, clusterid=nil) @RoleName = rolename @Remark = remark @ClusterId = clusterid end |
Instance Attribute Details
#ClusterId ⇒ Object
2315 2316 2317 |
# File 'lib/v20200217/models.rb', line 2315 def ClusterId @ClusterId end |
#Remark ⇒ Object
2315 2316 2317 |
# File 'lib/v20200217/models.rb', line 2315 def Remark @Remark end |
#RoleName ⇒ Object
2315 2316 2317 |
# File 'lib/v20200217/models.rb', line 2315 def RoleName @RoleName end |
Instance Method Details
#deserialize(params) ⇒ Object
2323 2324 2325 2326 2327 |
# File 'lib/v20200217/models.rb', line 2323 def deserialize(params) @RoleName = params['RoleName'] @Remark = params['Remark'] @ClusterId = params['ClusterId'] end |