Class: TencentCloud::Ses::V20201002::SendEmailResponse

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

Overview

SendEmail返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(messageid = nil, requestid = nil) ⇒ SendEmailResponse

Returns a new instance of SendEmailResponse.



1709
1710
1711
1712
# File 'lib/v20201002/models.rb', line 1709

def initialize(messageid=nil, requestid=nil)
  @MessageId = messageid
  @RequestId = requestid
end

Instance Attribute Details

#MessageIdObject

Parameters:

  • MessageId:

    接受消息生成的唯一消息标识符。

  • RequestId:

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



1707
1708
1709
# File 'lib/v20201002/models.rb', line 1707

def MessageId
  @MessageId
end

#RequestIdObject

Parameters:

  • MessageId:

    接受消息生成的唯一消息标识符。

  • RequestId:

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



1707
1708
1709
# File 'lib/v20201002/models.rb', line 1707

def RequestId
  @RequestId
end

Instance Method Details

#deserialize(params) ⇒ Object



1714
1715
1716
1717
# File 'lib/v20201002/models.rb', line 1714

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