Class: TencentCloud::Ses::V20201002::GetSendEmailStatusResponse

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

Overview

GetSendEmailStatus返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(emailstatuslist = nil, requestid = nil) ⇒ GetSendEmailStatusResponse

Returns a new instance of GetSendEmailStatusResponse.



975
976
977
978
# File 'lib/v20201002/models.rb', line 975

def initialize(emailstatuslist=nil, requestid=nil)
  @EmailStatusList = emailstatuslist
  @RequestId = requestid
end

Instance Attribute Details

#EmailStatusListObject

Parameters:

  • EmailStatusList:

    邮件发送状态列表

  • RequestId:

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



973
974
975
# File 'lib/v20201002/models.rb', line 973

def EmailStatusList
  @EmailStatusList
end

#RequestIdObject

Parameters:

  • EmailStatusList:

    邮件发送状态列表

  • RequestId:

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



973
974
975
# File 'lib/v20201002/models.rb', line 973

def RequestId
  @RequestId
end

Instance Method Details

#deserialize(params) ⇒ Object



980
981
982
983
984
985
986
987
988
989
990
# File 'lib/v20201002/models.rb', line 980

def deserialize(params)
  unless params['EmailStatusList'].nil?
    @EmailStatusList = []
    params['EmailStatusList'].each do |i|
      sendemailstatus_tmp = SendEmailStatus.new
      sendemailstatus_tmp.deserialize(i)
      @EmailStatusList << sendemailstatus_tmp
    end
  end
  @RequestId = params['RequestId']
end