Class: TencentCloud::Tdmq::V20200217::CreateRabbitMQUserResponse

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

Overview

CreateRabbitMQUser返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(user = nil, requestid = nil) ⇒ CreateRabbitMQUserResponse

Returns a new instance of CreateRabbitMQUserResponse.



1740
1741
1742
1743
# File 'lib/v20200217/models.rb', line 1740

def initialize(user=nil, requestid=nil)
  @User = user
  @RequestId = requestid
end

Instance Attribute Details

#RequestIdObject

Parameters:

  • User:

    用户名,登录时使用

  • RequestId:

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



1738
1739
1740
# File 'lib/v20200217/models.rb', line 1738

def RequestId
  @RequestId
end

#UserObject

Parameters:

  • User:

    用户名,登录时使用

  • RequestId:

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



1738
1739
1740
# File 'lib/v20200217/models.rb', line 1738

def User
  @User
end

Instance Method Details

#deserialize(params) ⇒ Object



1745
1746
1747
1748
# File 'lib/v20200217/models.rb', line 1745

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