""" Code is generated by ucloud-model, DO NOT EDIT IT. """

from ucloud.core.typesystem import schema, fields


class ReceiptPerPhoneSchema(schema.ResponseSchema):
    """ReceiptPerPhone - 每个目的手机号的发送回执信息"""

    fields = {
        "Phone": fields.Str(required=True, load_from="Phone"),
        "ReceiptCode": fields.Str(required=True, load_from="ReceiptCode"),
        "ReceiptDesc": fields.Str(required=True, load_from="ReceiptDesc"),
        "ReceiptResult": fields.Str(required=True, load_from="ReceiptResult"),
        "ReceiptTime": fields.Int(required=True, load_from="ReceiptTime"),
        "SessionId": fields.Str(required=True, load_from="SessionId"),
    }


class ReceiptPerTaskSchema(schema.ResponseSchema):
    """ReceiptPerTask - 每个提交任务的视频短信的回执结果集合"""

    fields = {
        "ReceiptSet": fields.List(ReceiptPerPhoneSchema()),
        "TaskId": fields.Str(required=True, load_from="TaskId"),
    }


class OutSignatureSchema(schema.ResponseSchema):
    """OutSignature - 短信签名"""

    fields = {
        "ErrDesc": fields.Str(required=True, load_from="ErrDesc"),
        "SigContent": fields.Str(required=True, load_from="SigContent"),
        "SigId": fields.Str(required=True, load_from="SigId"),
        "Status": fields.Int(required=True, load_from="Status"),
    }


class OutTemplateSchema(schema.ResponseSchema):
    """OutTemplate - 模板状态"""

    fields = {
        "CreateTime": fields.Int(required=False, load_from="CreateTime"),
        "ExpireTime": fields.Int(required=False, load_from="ExpireTime"),
        "Purpose": fields.Int(required=False, load_from="Purpose"),
        "Remark": fields.Str(required=False, load_from="Remark"),
        "StatusDesc": fields.Str(required=False, load_from="StatusDesc"),
        "TemplateId": fields.Str(required=False, load_from="TemplateId"),
        "TemplateName": fields.Str(required=False, load_from="TemplateName"),
    }
