Class: TencentCloud::Tdmq::V20200217::DeleteRolesResponse

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, requestid = nil) ⇒ DeleteRolesResponse

Returns a new instance of DeleteRolesResponse.



3244
3245
3246
3247
# File 'lib/v20200217/models.rb', line 3244

def initialize(rolenames=nil, requestid=nil)
  @RoleNames = rolenames
  @RequestId = requestid
end

Instance Attribute Details

#RequestIdObject

Parameters:

  • RoleNames:

    成功删除的角色名称数组。

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



3242
3243
3244
# File 'lib/v20200217/models.rb', line 3242

def RequestId
  @RequestId
end

#RoleNamesObject

Parameters:

  • RoleNames:

    成功删除的角色名称数组。

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



3242
3243
3244
# File 'lib/v20200217/models.rb', line 3242

def RoleNames
  @RoleNames
end

Instance Method Details

#deserialize(params) ⇒ Object



3249
3250
3251
3252
# File 'lib/v20200217/models.rb', line 3249

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