tencentcloud-sdk-ses 1.0.243 → 1.0.244

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 8bd2467bdc4311d99dd3b6281bf6213083c94bba
4
- data.tar.gz: 9d25cc6c95b0f37cbe0eed899e9fa89e37bc9b19
3
+ metadata.gz: 1be91ac06089d675fe9cac445b38c6f205c2d1ce
4
+ data.tar.gz: c756c213dd9cc9795fa24da6491f29c1d52c3a0e
5
5
  SHA512:
6
- metadata.gz: fe29900092bdea89304a43495e3561a47fe6b638076d7c4ac3b086bcfebc4dea53dc8a8c7609507f7f1acab6a0e8a71b175f8e22839d7089bb13f4e68052d2b1
7
- data.tar.gz: 17d03d67a8e062e0a0aa90b4cdd72a439236c6b84a53b24b2926e572f4fa005b6de84828c1827a45701b96a38df27e9e9a7ab9eb8ca4182fe843bb1892e48973
6
+ metadata.gz: c7920c7ade07f4608d6debf00a43f385a6a7c7c9b36b8e37aa99512e60c6b8a706d59e8b114db5a141bc7fd8b9a59e51dae8285e565c964ff1033f6f78f41d17
7
+ data.tar.gz: 40152aab283fd9b9a5bbe7a734f4e0944893973670090a9ccf992e2ca8eec924b1c1436635a377342a2301bb187b058f4d413e78796ee39a567ab2f21720ab65
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.243
1
+ 1.0.244
@@ -126,6 +126,54 @@ module TencentCloud
126
126
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
127
127
  end
128
128
 
129
+ # 创建收件人列表,收件人列表是发送批量邮件的目标邮件地址列表。创建列表后,需要上传收件人邮箱地址。之后创建发送任务,关联列表,便可以实现批量发送邮件的功能
130
+
131
+ # @param request: Request instance for CreateReceiver.
132
+ # @type request: :class:`Tencentcloud::ses::V20201002::CreateReceiverRequest`
133
+ # @rtype: :class:`Tencentcloud::ses::V20201002::CreateReceiverResponse`
134
+ def CreateReceiver(request)
135
+ body = send_request('CreateReceiver', request.serialize)
136
+ response = JSON.parse(body)
137
+ if response['Response'].key?('Error') == false
138
+ model = CreateReceiverResponse.new
139
+ model.deserialize(response['Response'])
140
+ model
141
+ else
142
+ code = response['Response']['Error']['Code']
143
+ message = response['Response']['Error']['Message']
144
+ reqid = response['Response']['RequestId']
145
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
146
+ end
147
+ rescue TencentCloud::Common::TencentCloudSDKException => e
148
+ raise e
149
+ rescue StandardError => e
150
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
151
+ end
152
+
153
+ # 在创建完收件人列表后,向这个收件人列表中批量增加收件人邮箱地址,一次最大支持10W,异步完成处理。收件人列表只可以上传一次,不可追加上传。数据量比较大的时候,上传可能需要一点时间,可以通过查询收件人列表了解上传状态和上传数量
154
+
155
+ # @param request: Request instance for CreateReceiverDetail.
156
+ # @type request: :class:`Tencentcloud::ses::V20201002::CreateReceiverDetailRequest`
157
+ # @rtype: :class:`Tencentcloud::ses::V20201002::CreateReceiverDetailResponse`
158
+ def CreateReceiverDetail(request)
159
+ body = send_request('CreateReceiverDetail', request.serialize)
160
+ response = JSON.parse(body)
161
+ if response['Response'].key?('Error') == false
162
+ model = CreateReceiverDetailResponse.new
163
+ model.deserialize(response['Response'])
164
+ model
165
+ else
166
+ code = response['Response']['Error']['Code']
167
+ message = response['Response']['Error']['Message']
168
+ reqid = response['Response']['RequestId']
169
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
170
+ end
171
+ rescue TencentCloud::Common::TencentCloudSDKException => e
172
+ raise e
173
+ rescue StandardError => e
174
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
175
+ end
176
+
129
177
  # 邮箱被拉黑之后,用户如果确认收件邮箱有效或者已经处于激活状态,可以从腾讯云地址库中删除该黑名单之后继续投递。
130
178
 
131
179
  # @param request: Request instance for DeleteBlackList.
@@ -414,6 +462,54 @@ module TencentCloud
414
462
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
415
463
  end
416
464
 
465
+ # 根据条件查询收件人列表,支持分页,模糊查询,状态查询
466
+
467
+ # @param request: Request instance for ListReceivers.
468
+ # @type request: :class:`Tencentcloud::ses::V20201002::ListReceiversRequest`
469
+ # @rtype: :class:`Tencentcloud::ses::V20201002::ListReceiversResponse`
470
+ def ListReceivers(request)
471
+ body = send_request('ListReceivers', request.serialize)
472
+ response = JSON.parse(body)
473
+ if response['Response'].key?('Error') == false
474
+ model = ListReceiversResponse.new
475
+ model.deserialize(response['Response'])
476
+ model
477
+ else
478
+ code = response['Response']['Error']['Code']
479
+ message = response['Response']['Error']['Message']
480
+ reqid = response['Response']['RequestId']
481
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
482
+ end
483
+ rescue TencentCloud::Common::TencentCloudSDKException => e
484
+ raise e
485
+ rescue StandardError => e
486
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
487
+ end
488
+
489
+ # 分页查询批量发送邮件任务,包含即时发送任务,定时发送任务,周期重复发送任务,查询发送情况,包括请求数量,已发数量,缓存数量,任务状态等信息
490
+
491
+ # @param request: Request instance for ListSendTasks.
492
+ # @type request: :class:`Tencentcloud::ses::V20201002::ListSendTasksRequest`
493
+ # @rtype: :class:`Tencentcloud::ses::V20201002::ListSendTasksResponse`
494
+ def ListSendTasks(request)
495
+ body = send_request('ListSendTasks', request.serialize)
496
+ response = JSON.parse(body)
497
+ if response['Response'].key?('Error') == false
498
+ model = ListSendTasksResponse.new
499
+ model.deserialize(response['Response'])
500
+ model
501
+ else
502
+ code = response['Response']['Error']['Code']
503
+ message = response['Response']['Error']['Message']
504
+ reqid = response['Response']['RequestId']
505
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
506
+ end
507
+ rescue TencentCloud::Common::TencentCloudSDKException => e
508
+ raise e
509
+ rescue StandardError => e
510
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
511
+ end
512
+
417
513
  # 您可以通过此API发送TEXT或者HTML邮件,适用于触发类邮件(验证码、交易类)。默认仅支持使用模板发送邮件,如需发送自定义内容,请单独联系商务开通此功能。
418
514
 
419
515
  # @param request: Request instance for SendEmail.
@@ -61,10 +61,12 @@ module TencentCloud
61
61
  # @type CycleParam: :class:`Tencentcloud::Ses.v20201002.models.CycleEmailParam`
62
62
  # @param TimedParam: 定时发送任务的必要参数
63
63
  # @type TimedParam: :class:`Tencentcloud::Ses.v20201002.models.TimedEmailParam`
64
+ # @param Unsubscribe: 退订选项 1: 加入退订链接 0: 不加入退订链接
65
+ # @type Unsubscribe: String
64
66
 
65
- attr_accessor :FromEmailAddress, :ReceiverId, :Subject, :TaskType, :ReplyToAddresses, :Template, :Simple, :Attachments, :CycleParam, :TimedParam
67
+ attr_accessor :FromEmailAddress, :ReceiverId, :Subject, :TaskType, :ReplyToAddresses, :Template, :Simple, :Attachments, :CycleParam, :TimedParam, :Unsubscribe
66
68
 
67
- def initialize(fromemailaddress=nil, receiverid=nil, subject=nil, tasktype=nil, replytoaddresses=nil, template=nil, simple=nil, attachments=nil, cycleparam=nil, timedparam=nil)
69
+ def initialize(fromemailaddress=nil, receiverid=nil, subject=nil, tasktype=nil, replytoaddresses=nil, template=nil, simple=nil, attachments=nil, cycleparam=nil, timedparam=nil, unsubscribe=nil)
68
70
  @FromEmailAddress = fromemailaddress
69
71
  @ReceiverId = receiverid
70
72
  @Subject = subject
@@ -75,6 +77,7 @@ module TencentCloud
75
77
  @Attachments = attachments
76
78
  @CycleParam = cycleparam
77
79
  @TimedParam = timedparam
80
+ @Unsubscribe = unsubscribe
78
81
  end
79
82
 
80
83
  def deserialize(params)
@@ -107,6 +110,7 @@ module TencentCloud
107
110
  @TimedParam = TimedEmailParam.new
108
111
  @TimedParam.deserialize(params['TimedParam'])
109
112
  end
113
+ @Unsubscribe = params['Unsubscribe']
110
114
  end
111
115
  end
112
116
 
@@ -276,6 +280,82 @@ module TencentCloud
276
280
  end
277
281
  end
278
282
 
283
+ # CreateReceiverDetail请求参数结构体
284
+ class CreateReceiverDetailRequest < TencentCloud::Common::AbstractModel
285
+ # @param ReceiverId: 收件人列表ID
286
+ # @type ReceiverId: Integer
287
+ # @param Emails: 邮箱
288
+ # @type Emails: Array
289
+
290
+ attr_accessor :ReceiverId, :Emails
291
+
292
+ def initialize(receiverid=nil, emails=nil)
293
+ @ReceiverId = receiverid
294
+ @Emails = emails
295
+ end
296
+
297
+ def deserialize(params)
298
+ @ReceiverId = params['ReceiverId']
299
+ @Emails = params['Emails']
300
+ end
301
+ end
302
+
303
+ # CreateReceiverDetail返回参数结构体
304
+ class CreateReceiverDetailResponse < TencentCloud::Common::AbstractModel
305
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
306
+ # @type RequestId: String
307
+
308
+ attr_accessor :RequestId
309
+
310
+ def initialize(requestid=nil)
311
+ @RequestId = requestid
312
+ end
313
+
314
+ def deserialize(params)
315
+ @RequestId = params['RequestId']
316
+ end
317
+ end
318
+
319
+ # CreateReceiver请求参数结构体
320
+ class CreateReceiverRequest < TencentCloud::Common::AbstractModel
321
+ # @param ReceiversName: 收件人列表名称
322
+ # @type ReceiversName: String
323
+ # @param Desc: 收件人列表描述
324
+ # @type Desc: String
325
+
326
+ attr_accessor :ReceiversName, :Desc
327
+
328
+ def initialize(receiversname=nil, desc=nil)
329
+ @ReceiversName = receiversname
330
+ @Desc = desc
331
+ end
332
+
333
+ def deserialize(params)
334
+ @ReceiversName = params['ReceiversName']
335
+ @Desc = params['Desc']
336
+ end
337
+ end
338
+
339
+ # CreateReceiver返回参数结构体
340
+ class CreateReceiverResponse < TencentCloud::Common::AbstractModel
341
+ # @param ReceiverId: 收件人列表id,后续根据收件人列表id上传收件人地址
342
+ # @type ReceiverId: Integer
343
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
344
+ # @type RequestId: String
345
+
346
+ attr_accessor :ReceiverId, :RequestId
347
+
348
+ def initialize(receiverid=nil, requestid=nil)
349
+ @ReceiverId = receiverid
350
+ @RequestId = requestid
351
+ end
352
+
353
+ def deserialize(params)
354
+ @ReceiverId = params['ReceiverId']
355
+ @RequestId = params['RequestId']
356
+ end
357
+ end
358
+
279
359
  # 创建重复周期发送邮件任务的参数
280
360
  class CycleEmailParam < TencentCloud::Common::AbstractModel
281
361
  # @param BeginTime: 任务开始时间
@@ -912,6 +992,166 @@ module TencentCloud
912
992
  end
913
993
  end
914
994
 
995
+ # ListReceivers请求参数结构体
996
+ class ListReceiversRequest < TencentCloud::Common::AbstractModel
997
+ # @param Offset: 偏移量,整型,从0开始
998
+ # @type Offset: Integer
999
+ # @param Limit: 限制数目,整型,不超过100
1000
+ # @type Limit: Integer
1001
+ # @param Status: 列表状态(1 待上传 2 上传中 3传完成),若查询所有就不传这个字段
1002
+ # @type Status: Integer
1003
+ # @param KeyWord: 列表名称的关键字,模糊查询
1004
+ # @type KeyWord: String
1005
+
1006
+ attr_accessor :Offset, :Limit, :Status, :KeyWord
1007
+
1008
+ def initialize(offset=nil, limit=nil, status=nil, keyword=nil)
1009
+ @Offset = offset
1010
+ @Limit = limit
1011
+ @Status = status
1012
+ @KeyWord = keyword
1013
+ end
1014
+
1015
+ def deserialize(params)
1016
+ @Offset = params['Offset']
1017
+ @Limit = params['Limit']
1018
+ @Status = params['Status']
1019
+ @KeyWord = params['KeyWord']
1020
+ end
1021
+ end
1022
+
1023
+ # ListReceivers返回参数结构体
1024
+ class ListReceiversResponse < TencentCloud::Common::AbstractModel
1025
+ # @param TotalCount: 总数
1026
+ # @type TotalCount: Integer
1027
+ # @param Data: 数据记录
1028
+ # @type Data: Array
1029
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1030
+ # @type RequestId: String
1031
+
1032
+ attr_accessor :TotalCount, :Data, :RequestId
1033
+
1034
+ def initialize(totalcount=nil, data=nil, requestid=nil)
1035
+ @TotalCount = totalcount
1036
+ @Data = data
1037
+ @RequestId = requestid
1038
+ end
1039
+
1040
+ def deserialize(params)
1041
+ @TotalCount = params['TotalCount']
1042
+ unless params['Data'].nil?
1043
+ @Data = []
1044
+ params['Data'].each do |i|
1045
+ receiverdata_tmp = ReceiverData.new
1046
+ receiverdata_tmp.deserialize(i)
1047
+ @Data << receiverdata_tmp
1048
+ end
1049
+ end
1050
+ @RequestId = params['RequestId']
1051
+ end
1052
+ end
1053
+
1054
+ # ListSendTasks请求参数结构体
1055
+ class ListSendTasksRequest < TencentCloud::Common::AbstractModel
1056
+ # @param Offset: 偏移量,整型,从0开始,0代表跳过0行
1057
+ # @type Offset: Integer
1058
+ # @param Limit: 限制数目,整型,不超过100
1059
+ # @type Limit: Integer
1060
+ # @param Status: 任务状态 1 待开始 5 发送中 6 今日暂停发送 7 发信异常 10 发送完成。查询所有状态,则不传这个字段
1061
+ # @type Status: Integer
1062
+ # @param ReceiverId: 收件人列表ID
1063
+ # @type ReceiverId: Integer
1064
+ # @param TaskType: 任务类型 1即时 2定时 3周期,查询所有类型则不传这个字段
1065
+ # @type TaskType: Integer
1066
+
1067
+ attr_accessor :Offset, :Limit, :Status, :ReceiverId, :TaskType
1068
+
1069
+ def initialize(offset=nil, limit=nil, status=nil, receiverid=nil, tasktype=nil)
1070
+ @Offset = offset
1071
+ @Limit = limit
1072
+ @Status = status
1073
+ @ReceiverId = receiverid
1074
+ @TaskType = tasktype
1075
+ end
1076
+
1077
+ def deserialize(params)
1078
+ @Offset = params['Offset']
1079
+ @Limit = params['Limit']
1080
+ @Status = params['Status']
1081
+ @ReceiverId = params['ReceiverId']
1082
+ @TaskType = params['TaskType']
1083
+ end
1084
+ end
1085
+
1086
+ # ListSendTasks返回参数结构体
1087
+ class ListSendTasksResponse < TencentCloud::Common::AbstractModel
1088
+ # @param TotalCount: 总数
1089
+ # @type TotalCount: Integer
1090
+ # @param Data: 数据记录
1091
+ # @type Data: Array
1092
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1093
+ # @type RequestId: String
1094
+
1095
+ attr_accessor :TotalCount, :Data, :RequestId
1096
+
1097
+ def initialize(totalcount=nil, data=nil, requestid=nil)
1098
+ @TotalCount = totalcount
1099
+ @Data = data
1100
+ @RequestId = requestid
1101
+ end
1102
+
1103
+ def deserialize(params)
1104
+ @TotalCount = params['TotalCount']
1105
+ unless params['Data'].nil?
1106
+ @Data = []
1107
+ params['Data'].each do |i|
1108
+ sendtaskdata_tmp = SendTaskData.new
1109
+ sendtaskdata_tmp.deserialize(i)
1110
+ @Data << sendtaskdata_tmp
1111
+ end
1112
+ end
1113
+ @RequestId = params['RequestId']
1114
+ end
1115
+ end
1116
+
1117
+ # 收件人列表数据类型
1118
+ class ReceiverData < TencentCloud::Common::AbstractModel
1119
+ # @param ReceiverId: 收件人列表ID
1120
+ # @type ReceiverId: Integer
1121
+ # @param ReceiversName: 收件人列表名称
1122
+ # @type ReceiversName: String
1123
+ # @param Count: 收件人地址总数
1124
+ # @type Count: Integer
1125
+ # @param Desc: 收件人列表描述
1126
+ # 注意:此字段可能返回 null,表示取不到有效值。
1127
+ # @type Desc: String
1128
+ # @param ReceiversStatus: 列表状态(1 待上传 2 上传中 3 上传完成)
1129
+ # 注意:此字段可能返回 null,表示取不到有效值。
1130
+ # @type ReceiversStatus: Integer
1131
+ # @param CreateTime: 创建时间,如:2021-09-28 16:40:35
1132
+ # @type CreateTime: String
1133
+
1134
+ attr_accessor :ReceiverId, :ReceiversName, :Count, :Desc, :ReceiversStatus, :CreateTime
1135
+
1136
+ def initialize(receiverid=nil, receiversname=nil, count=nil, desc=nil, receiversstatus=nil, createtime=nil)
1137
+ @ReceiverId = receiverid
1138
+ @ReceiversName = receiversname
1139
+ @Count = count
1140
+ @Desc = desc
1141
+ @ReceiversStatus = receiversstatus
1142
+ @CreateTime = createtime
1143
+ end
1144
+
1145
+ def deserialize(params)
1146
+ @ReceiverId = params['ReceiverId']
1147
+ @ReceiversName = params['ReceiversName']
1148
+ @Count = params['Count']
1149
+ @Desc = params['Desc']
1150
+ @ReceiversStatus = params['ReceiversStatus']
1151
+ @CreateTime = params['CreateTime']
1152
+ end
1153
+ end
1154
+
915
1155
  # SendEmail请求参数结构体
916
1156
  class SendEmailRequest < TencentCloud::Common::AbstractModel
917
1157
  # @param FromEmailAddress: 发信邮件地址。请填写发件人邮箱地址,例如:noreply@mail.qcloud.com
@@ -930,7 +1170,7 @@ module TencentCloud
930
1170
  # @type Simple: :class:`Tencentcloud::Ses.v20201002.models.Simple`
931
1171
  # @param Attachments: 需要发送附件时,填写附件相关参数。
932
1172
  # @type Attachments: Array
933
- # @param Unsubscribe: 是否加入退订链接
1173
+ # @param Unsubscribe: 退订选项 1: 加入退订链接 0: 不加入退订链接
934
1174
  # @type Unsubscribe: String
935
1175
 
936
1176
  attr_accessor :FromEmailAddress, :Destination, :Subject, :ReplyToAddresses, :Template, :Simple, :Attachments, :Unsubscribe
@@ -1078,6 +1318,95 @@ module TencentCloud
1078
1318
  end
1079
1319
  end
1080
1320
 
1321
+ # 发送任务数据
1322
+ class SendTaskData < TencentCloud::Common::AbstractModel
1323
+ # @param TaskId: 任务id
1324
+ # @type TaskId: Integer
1325
+ # @param FromEmailAddress: 发信地址
1326
+ # @type FromEmailAddress: String
1327
+ # @param ReceiverId: 收件人列表Id
1328
+ # @type ReceiverId: Integer
1329
+ # @param TaskStatus: 任务状态 1 待开始 5 发送中 6 今日暂停发送 7 发信异常 10 发送完成
1330
+ # @type TaskStatus: Integer
1331
+ # @param TaskType: 任务类型 1 即时 2 定时 3 周期
1332
+ # @type TaskType: Integer
1333
+ # @param RequestCount: 任务请求发信数量
1334
+ # @type RequestCount: Integer
1335
+ # @param SendCount: 已经发送数量
1336
+ # @type SendCount: Integer
1337
+ # @param CacheCount: 缓存数量
1338
+ # @type CacheCount: Integer
1339
+ # @param CreateTime: 任务创建时间
1340
+ # @type CreateTime: String
1341
+ # @param UpdateTime: 任务更新时间
1342
+ # @type UpdateTime: String
1343
+ # @param Subject: 邮件主题
1344
+ # @type Subject: String
1345
+ # @param Template: 模板和模板数据
1346
+ # 注意:此字段可能返回 null,表示取不到有效值。
1347
+ # @type Template: :class:`Tencentcloud::Ses.v20201002.models.Template`
1348
+ # @param CycleParam: 周期任务参数
1349
+ # 注意:此字段可能返回 null,表示取不到有效值。
1350
+ # @type CycleParam: :class:`Tencentcloud::Ses.v20201002.models.CycleEmailParam`
1351
+ # @param TimedParam: 定时任务参数
1352
+ # 注意:此字段可能返回 null,表示取不到有效值。
1353
+ # @type TimedParam: :class:`Tencentcloud::Ses.v20201002.models.TimedEmailParam`
1354
+ # @param ErrMsg: 任务异常信息
1355
+ # 注意:此字段可能返回 null,表示取不到有效值。
1356
+ # @type ErrMsg: String
1357
+ # @param ReceiversName: 收件人列表名称
1358
+ # @type ReceiversName: String
1359
+
1360
+ attr_accessor :TaskId, :FromEmailAddress, :ReceiverId, :TaskStatus, :TaskType, :RequestCount, :SendCount, :CacheCount, :CreateTime, :UpdateTime, :Subject, :Template, :CycleParam, :TimedParam, :ErrMsg, :ReceiversName
1361
+
1362
+ def initialize(taskid=nil, fromemailaddress=nil, receiverid=nil, taskstatus=nil, tasktype=nil, requestcount=nil, sendcount=nil, cachecount=nil, createtime=nil, updatetime=nil, subject=nil, template=nil, cycleparam=nil, timedparam=nil, errmsg=nil, receiversname=nil)
1363
+ @TaskId = taskid
1364
+ @FromEmailAddress = fromemailaddress
1365
+ @ReceiverId = receiverid
1366
+ @TaskStatus = taskstatus
1367
+ @TaskType = tasktype
1368
+ @RequestCount = requestcount
1369
+ @SendCount = sendcount
1370
+ @CacheCount = cachecount
1371
+ @CreateTime = createtime
1372
+ @UpdateTime = updatetime
1373
+ @Subject = subject
1374
+ @Template = template
1375
+ @CycleParam = cycleparam
1376
+ @TimedParam = timedparam
1377
+ @ErrMsg = errmsg
1378
+ @ReceiversName = receiversname
1379
+ end
1380
+
1381
+ def deserialize(params)
1382
+ @TaskId = params['TaskId']
1383
+ @FromEmailAddress = params['FromEmailAddress']
1384
+ @ReceiverId = params['ReceiverId']
1385
+ @TaskStatus = params['TaskStatus']
1386
+ @TaskType = params['TaskType']
1387
+ @RequestCount = params['RequestCount']
1388
+ @SendCount = params['SendCount']
1389
+ @CacheCount = params['CacheCount']
1390
+ @CreateTime = params['CreateTime']
1391
+ @UpdateTime = params['UpdateTime']
1392
+ @Subject = params['Subject']
1393
+ unless params['Template'].nil?
1394
+ @Template = Template.new
1395
+ @Template.deserialize(params['Template'])
1396
+ end
1397
+ unless params['CycleParam'].nil?
1398
+ @CycleParam = CycleEmailParam.new
1399
+ @CycleParam.deserialize(params['CycleParam'])
1400
+ end
1401
+ unless params['TimedParam'].nil?
1402
+ @TimedParam = TimedEmailParam.new
1403
+ @TimedParam.deserialize(params['TimedParam'])
1404
+ end
1405
+ @ErrMsg = params['ErrMsg']
1406
+ @ReceiversName = params['ReceiversName']
1407
+ end
1408
+ end
1409
+
1081
1410
  # 邮件发送的内容,可以是纯文本(TEXT),也可以是纯代码(HTML),或者纯文本+HTML的组合(建议方式)
1082
1411
  class Simple < TencentCloud::Common::AbstractModel
1083
1412
  # @param Html: base64之后的Html代码。需要包含所有的代码信息,不要包含外部css,否则会导致显示格式错乱
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-ses
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.243
4
+ version: 1.0.244
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-01-17 00:00:00.000000000 Z
11
+ date: 2022-01-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common