Class: TencentCloud::Tdmq::V20200217::PublishCmqMsgResponse

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

Overview

PublishCmqMsg返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(result = nil, msgid = nil, requestid = nil) ⇒ PublishCmqMsgResponse

Returns a new instance of PublishCmqMsgResponse.



9826
9827
9828
9829
9830
# File 'lib/v20200217/models.rb', line 9826

def initialize(result=nil, msgid=nil, requestid=nil)
  @Result = result
  @MsgId = msgid
  @RequestId = requestid
end

Instance Attribute Details

#MsgIdObject

Parameters:

  • Result:

    true表示发送成功

  • MsgId:

    消息id

  • RequestId:

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



9824
9825
9826
# File 'lib/v20200217/models.rb', line 9824

def MsgId
  @MsgId
end

#RequestIdObject

Parameters:

  • Result:

    true表示发送成功

  • MsgId:

    消息id

  • RequestId:

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



9824
9825
9826
# File 'lib/v20200217/models.rb', line 9824

def RequestId
  @RequestId
end

#ResultObject

Parameters:

  • Result:

    true表示发送成功

  • MsgId:

    消息id

  • RequestId:

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



9824
9825
9826
# File 'lib/v20200217/models.rb', line 9824

def Result
  @Result
end

Instance Method Details

#deserialize(params) ⇒ Object



9832
9833
9834
9835
9836
# File 'lib/v20200217/models.rb', line 9832

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