Class: TencentCloud::Ses::V20201002::BatchSendEmailResponse

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

Overview

BatchSendEmail返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(taskid = nil, requestid = nil) ⇒ BatchSendEmailResponse

Returns a new instance of BatchSendEmailResponse.



132
133
134
135
# File 'lib/v20201002/models.rb', line 132

def initialize(taskid=nil, requestid=nil)
  @TaskId = taskid
  @RequestId = requestid
end

Instance Attribute Details

#RequestIdObject

Parameters:

  • TaskId:

    发送任务ID

  • RequestId:

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



130
131
132
# File 'lib/v20201002/models.rb', line 130

def RequestId
  @RequestId
end

#TaskIdObject

Parameters:

  • TaskId:

    发送任务ID

  • RequestId:

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



130
131
132
# File 'lib/v20201002/models.rb', line 130

def TaskId
  @TaskId
end

Instance Method Details

#deserialize(params) ⇒ Object



137
138
139
140
# File 'lib/v20201002/models.rb', line 137

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