Class: TencentCloud::Tdmq::V20200217::ModifyRoleResponse

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

Overview

ModifyRole返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(rolename = nil, remark = nil, requestid = nil) ⇒ ModifyRoleResponse

Returns a new instance of ModifyRoleResponse.



9517
9518
9519
9520
9521
# File 'lib/v20200217/models.rb', line 9517

def initialize(rolename=nil, remark=nil, requestid=nil)
  @RoleName = rolename
  @Remark = remark
  @RequestId = requestid
end

Instance Attribute Details

#RemarkObject

Parameters:

  • RoleName:

    角色名称

  • Remark:

    备注说明

  • RequestId:

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



9515
9516
9517
# File 'lib/v20200217/models.rb', line 9515

def Remark
  @Remark
end

#RequestIdObject

Parameters:

  • RoleName:

    角色名称

  • Remark:

    备注说明

  • RequestId:

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



9515
9516
9517
# File 'lib/v20200217/models.rb', line 9515

def RequestId
  @RequestId
end

#RoleNameObject

Parameters:

  • RoleName:

    角色名称

  • Remark:

    备注说明

  • RequestId:

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



9515
9516
9517
# File 'lib/v20200217/models.rb', line 9515

def RoleName
  @RoleName
end

Instance Method Details

#deserialize(params) ⇒ Object



9523
9524
9525
9526
9527
# File 'lib/v20200217/models.rb', line 9523

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