Class: TencentCloud::Tdmq::V20200217::DeleteRolesRequest

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

Overview

DeleteRoles请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(rolenames = nil, clusterid = nil) ⇒ DeleteRolesRequest

Returns a new instance of DeleteRolesRequest.



3224
3225
3226
3227
# File 'lib/v20200217/models.rb', line 3224

def initialize(rolenames=nil, clusterid=nil)
  @RoleNames = rolenames
  @ClusterId = clusterid
end

Instance Attribute Details

#ClusterIdObject

Parameters:

  • RoleNames:

    角色名称数组。

  • ClusterId:

    必填字段,集群Id



3222
3223
3224
# File 'lib/v20200217/models.rb', line 3222

def ClusterId
  @ClusterId
end

#RoleNamesObject

Parameters:

  • RoleNames:

    角色名称数组。

  • ClusterId:

    必填字段,集群Id



3222
3223
3224
# File 'lib/v20200217/models.rb', line 3222

def RoleNames
  @RoleNames
end

Instance Method Details

#deserialize(params) ⇒ Object



3229
3230
3231
3232
# File 'lib/v20200217/models.rb', line 3229

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