Class: TencentCloud::Ses::V20201002::BatchSendEmailRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Ses::V20201002::BatchSendEmailRequest
- Defined in:
- lib/v20201002/models.rb
Overview
BatchSendEmail请求参数结构体
Instance Attribute Summary collapse
-
#ADLocation ⇒ Object
发信人 <邮件地址> 的方式填写,例如: 腾讯云团队 <[email protected]>
如您未申请过特殊配置,则该字段为必填 . -
#Attachments ⇒ Object
发信人 <邮件地址> 的方式填写,例如: 腾讯云团队 <[email protected]>
如您未申请过特殊配置,则该字段为必填 . -
#CycleParam ⇒ Object
发信人 <邮件地址> 的方式填写,例如: 腾讯云团队 <[email protected]>
如您未申请过特殊配置,则该字段为必填 . -
#FromEmailAddress ⇒ Object
发信人 <邮件地址> 的方式填写,例如: 腾讯云团队 <[email protected]>
如您未申请过特殊配置,则该字段为必填 . -
#ReceiverId ⇒ Object
发信人 <邮件地址> 的方式填写,例如: 腾讯云团队 <[email protected]>
如您未申请过特殊配置,则该字段为必填 . -
#ReplyToAddresses ⇒ Object
发信人 <邮件地址> 的方式填写,例如: 腾讯云团队 <[email protected]>
如您未申请过特殊配置,则该字段为必填 . -
#Simple ⇒ Object
发信人 <邮件地址> 的方式填写,例如: 腾讯云团队 <[email protected]>
如您未申请过特殊配置,则该字段为必填 . -
#Subject ⇒ Object
发信人 <邮件地址> 的方式填写,例如: 腾讯云团队 <[email protected]>
如您未申请过特殊配置,则该字段为必填 . -
#TaskType ⇒ Object
发信人 <邮件地址> 的方式填写,例如: 腾讯云团队 <[email protected]>
如您未申请过特殊配置,则该字段为必填 . -
#Template ⇒ Object
发信人 <邮件地址> 的方式填写,例如: 腾讯云团队 <[email protected]>
如您未申请过特殊配置,则该字段为必填 . -
#TimedParam ⇒ Object
发信人 <邮件地址> 的方式填写,例如: 腾讯云团队 <[email protected]>
如您未申请过特殊配置,则该字段为必填 . -
#Unsubscribe ⇒ Object
发信人 <邮件地址> 的方式填写,例如: 腾讯云团队 <[email protected]>
如您未申请过特殊配置,则该字段为必填 .
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(fromemailaddress = nil, receiverid = nil, subject = nil, tasktype = nil, replytoaddresses = nil, template = nil, simple = nil, attachments = nil, cycleparam = nil, timedparam = nil, unsubscribe = nil, adlocation = nil) ⇒ BatchSendEmailRequest
constructor
A new instance of BatchSendEmailRequest.
Constructor Details
#initialize(fromemailaddress = nil, receiverid = nil, subject = nil, tasktype = nil, replytoaddresses = nil, template = nil, simple = nil, attachments = nil, cycleparam = nil, timedparam = nil, unsubscribe = nil, adlocation = nil) ⇒ BatchSendEmailRequest
Returns a new instance of BatchSendEmailRequest.
100 101 102 103 104 105 106 107 108 109 110 111 112 113 |
# File 'lib/v20201002/models.rb', line 100 def initialize(fromemailaddress=nil, receiverid=nil, subject=nil, tasktype=nil, replytoaddresses=nil, template=nil, simple=nil, =nil, cycleparam=nil, timedparam=nil, unsubscribe=nil, adlocation=nil) @FromEmailAddress = fromemailaddress @ReceiverId = receiverid @Subject = subject @TaskType = tasktype @ReplyToAddresses = replytoaddresses @Template = template @Simple = simple @Attachments = @CycleParam = cycleparam @TimedParam = timedparam @Unsubscribe = unsubscribe @ADLocation = adlocation end |
Instance Attribute Details
#ADLocation ⇒ Object
发信人 <邮件地址> 的方式填写,例如:
腾讯云团队 <[email protected]>
98 99 100 |
# File 'lib/v20201002/models.rb', line 98 def ADLocation @ADLocation end |
#Attachments ⇒ Object
发信人 <邮件地址> 的方式填写,例如:
腾讯云团队 <[email protected]>
98 99 100 |
# File 'lib/v20201002/models.rb', line 98 def Attachments @Attachments end |
#CycleParam ⇒ Object
发信人 <邮件地址> 的方式填写,例如:
腾讯云团队 <[email protected]>
98 99 100 |
# File 'lib/v20201002/models.rb', line 98 def CycleParam @CycleParam end |
#FromEmailAddress ⇒ Object
发信人 <邮件地址> 的方式填写,例如:
腾讯云团队 <[email protected]>
98 99 100 |
# File 'lib/v20201002/models.rb', line 98 def FromEmailAddress @FromEmailAddress end |
#ReceiverId ⇒ Object
发信人 <邮件地址> 的方式填写,例如:
腾讯云团队 <[email protected]>
98 99 100 |
# File 'lib/v20201002/models.rb', line 98 def ReceiverId @ReceiverId end |
#ReplyToAddresses ⇒ Object
发信人 <邮件地址> 的方式填写,例如:
腾讯云团队 <[email protected]>
98 99 100 |
# File 'lib/v20201002/models.rb', line 98 def ReplyToAddresses @ReplyToAddresses end |
#Simple ⇒ Object
发信人 <邮件地址> 的方式填写,例如:
腾讯云团队 <[email protected]>
98 99 100 |
# File 'lib/v20201002/models.rb', line 98 def Simple @Simple end |
#Subject ⇒ Object
发信人 <邮件地址> 的方式填写,例如:
腾讯云团队 <[email protected]>
98 99 100 |
# File 'lib/v20201002/models.rb', line 98 def Subject @Subject end |
#TaskType ⇒ Object
发信人 <邮件地址> 的方式填写,例如:
腾讯云团队 <[email protected]>
98 99 100 |
# File 'lib/v20201002/models.rb', line 98 def TaskType @TaskType end |
#Template ⇒ Object
发信人 <邮件地址> 的方式填写,例如:
腾讯云团队 <[email protected]>
98 99 100 |
# File 'lib/v20201002/models.rb', line 98 def Template @Template end |
#TimedParam ⇒ Object
发信人 <邮件地址> 的方式填写,例如:
腾讯云团队 <[email protected]>
98 99 100 |
# File 'lib/v20201002/models.rb', line 98 def TimedParam @TimedParam end |
#Unsubscribe ⇒ Object
发信人 <邮件地址> 的方式填写,例如:
腾讯云团队 <[email protected]>
98 99 100 |
# File 'lib/v20201002/models.rb', line 98 def Unsubscribe @Unsubscribe end |
Instance Method Details
#deserialize(params) ⇒ Object
115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 |
# File 'lib/v20201002/models.rb', line 115 def deserialize(params) @FromEmailAddress = params['FromEmailAddress'] @ReceiverId = params['ReceiverId'] @Subject = params['Subject'] @TaskType = params['TaskType'] @ReplyToAddresses = params['ReplyToAddresses'] unless params['Template'].nil? @Template = Template.new @Template.deserialize(params['Template']) end unless params['Simple'].nil? @Simple = Simple.new @Simple.deserialize(params['Simple']) end unless params['Attachments'].nil? @Attachments = [] params['Attachments'].each do |i| = Attachment.new .deserialize(i) @Attachments << end end unless params['CycleParam'].nil? @CycleParam = CycleEmailParam.new @CycleParam.deserialize(params['CycleParam']) end unless params['TimedParam'].nil? @TimedParam = TimedEmailParam.new @TimedParam.deserialize(params['TimedParam']) end @Unsubscribe = params['Unsubscribe'] @ADLocation = params['ADLocation'] end |