# coding=utf8
# Copyright 2018 JDCLOUD.COM
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
# NOTE: This class is auto generated by the jdcloud code generator program.
[docs]class EmailSmsInfo(object):
def __init__(self, createPin, sendType, receives, templateId, templateParam, smsMessageSource, title=None, content=None):
"""
:param createPin: 用户pin
:param title: (Optional) 邮件标题
:param sendType: 发送类型 1 发邮件 2 发短信
:param content: (Optional) 邮件内容
:param receives: 接收人
:param templateId: 模版code
:param templateParam: 模版参数
:param smsMessageSource: 业务编码(和产品申请)
"""
self.createPin = createPin
self.title = title
self.sendType = sendType
self.content = content
self.receives = receives
self.templateId = templateId
self.templateParam = templateParam
self.smsMessageSource = smsMessageSource