models

package
v1.59.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 29, 2022 License: Apache-2.0 Imports: 0 Imported by: 11 modules, 10 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BatchSendResp added in v1.10.0

type BatchSendResp struct {

	/* 本次发送请求的序列号 (Optional) */
	SequenceNumber string `json:"sequenceNumber"`
}

type ContentRequest added in v1.50.0

type ContentRequest struct {

	/* 类型只能为 jpg/png  */
	FileType string `json:"fileType"`

	/* 这里需要填写文件对应的base64编码  */
	Value string `json:"value"`

	/* 文件名称 (Optional) */
	FileName string `json:"fileName"`
}

type CreateInstanceNotPayResp added in v1.24.0

type CreateInstanceNotPayResp struct {

	/* 购买ID (Optional) */
	BuyId string `json:"buyId"`

	/* 订单确认URL (Optional) */
	ForwardUrl string `json:"forwardUrl"`
}

type CreateInstanceResp added in v1.24.0

type CreateInstanceResp struct {

	/* 购买ID (Optional) */
	BuyId string `json:"buyId"`

	/* 是否执行提交购买逻辑,true-执行提交购买,false-未执行提交购买 (Optional) */
	Submit bool `json:"submit"`

	/* 提交结果消息 (Optional) */
	AddAndSubmitBuyMessage string `json:"addAndSubmitBuyMessage"`

	/* 订单号 (Optional) */
	OrderNumber string `json:"orderNumber"`

	/* 自动支付标识 (Optional) */
	AutoPay bool `json:"autoPay"`

	/* 下单结果消息 (Optional) */
	SubmitOrderMessage string `json:"submitOrderMessage"`
}

type MtSms

type MtSms struct {

	/* 用户pin (Optional) */
	Pin string `json:"pin"`

	/* 扩展码 (Optional) */
	ExpandNum string `json:"expandNum"`

	/* 手机号 (Optional) */
	MobileNum string `json:"mobileNum"`

	/* 应用ID (Optional) */
	AppId string `json:"appId"`

	/* 套餐包ID (Optional) */
	PackageId string `json:"packageId"`

	/* 签名ID (Optional) */
	SignId string `json:"signId"`

	/* 模板ID (Optional) */
	TemplateId string `json:"templateId"`

	/* 消息内容 (Optional) */
	MsgContent string `json:"msgContent"`

	/* 批次ID (Optional) */
	OrderId string `json:"orderId"`

	/* 错误码 (Optional) */
	Code int `json:"code"`

	/* 流水号 (Optional) */
	ReceiptNum string `json:"receiptNum"`

	/* 拆分标识 (Optional) */
	SplitFlag string `json:"splitFlag"`

	/* 发送状态 (Optional) */
	Status string `json:"status"`

	/* 类型 (Optional) */
	Type string `json:"type"`
}

type PullMtMsgByMobile

type PullMtMsgByMobile struct {

	/* 总量 (Optional) */
	Total int `json:"total"`

	/* 本次拉取的数量 (Optional) */
	Size int `json:"size"`

	/* 发送信息明细列表 (Optional) */
	DetailList []MtSms `json:"detailList"`
}

type ReplyResp added in v1.10.0

type ReplyResp struct {

	/* 应用Id (Optional) */
	AppId string `json:"appId"`

	/* 签名Id (Optional) */
	SignId string `json:"signId"`

	/* 手机号 (Optional) */
	PhoneNum string `json:"phoneNum"`

	/* 回复时间(yyyy-MM-dd HH:mm:ss) (Optional) */
	DataTime string `json:"dataTime"`

	/* 回复内容 (Optional) */
	Content string `json:"content"`
}

type RespQuerySignListData added in v1.50.0

type RespQuerySignListData struct {

	/* 签名ID (Optional) */
	SignId string `json:"signId"`

	/* 签名内容 (Optional) */
	SignName string `json:"signName"`

	/* 签名状态: -1 草稿, 0 审核中, 1 审核通过, 2 审核不通过, 3 停用 (Optional) */
	SignStatus string `json:"signStatus"`

	/* 短信创建时间 yyyy-MM-dd HH:mm:ss (Optional) */
	CreateTime string `json:"createTime"`
}

type RespQueryTemplateListData added in v1.50.0

type RespQueryTemplateListData struct {

	/* 模版ID (Optional) */
	TemplateId string `json:"templateId"`

	/* 模版名称 (Optional) */
	TemplateName string `json:"templateName"`

	/* 模版内容 (Optional) */
	Template string `json:"template"`

	/* 申请说明 (Optional) */
	TemplateDescription string `json:"templateDescription"`

	/* 短信类型: 1 验证码短信, 2 通知短信, 3 推广短信 (Optional) */
	TemplateType string `json:"templateType"`

	/* 审核状态: -1 草稿, 0 审核中, 1 审核通过, 2 审核不通过, 3 停用 (Optional) */
	TemplateStatus string `json:"templateStatus"`

	/* 短信创建时间 yyyy-MM-dd HH:mm:ss (Optional) */
	CreateTime string `json:"createTime"`
}

type RespSignPageResult added in v1.50.0

type RespSignPageResult struct {

	/* 总条数 (Optional) */
	Count int64 `json:"count"`

	/* 当前页 (Optional) */
	PageNum int `json:"pageNum"`

	/* 每页条数 (Optional) */
	PageSize int `json:"pageSize"`

	/* 总页数 (Optional) */
	PageCount int `json:"pageCount"`

	/* 数据 (Optional) */
	List []RespQuerySignListData `json:"list"`
}

type RespTemplatePageResult added in v1.50.0

type RespTemplatePageResult struct {

	/* 总条数 (Optional) */
	Count int64 `json:"count"`

	/* 当前页 (Optional) */
	PageNum int `json:"pageNum"`

	/* 每页条数 (Optional) */
	PageSize int `json:"pageSize"`

	/* 总页数 (Optional) */
	PageCount int `json:"pageCount"`

	/* 数据 (Optional) */
	List []RespQueryTemplateListData `json:"list"`
}

type SendBatchSms

type SendBatchSms struct {

	/* 请求状态 (Optional) */
	Status bool `json:"status"`

	/* 错误码 (Optional) */
	Code string `json:"code"`

	/* 错误消息 (Optional) */
	Message string `json:"message"`
}

type StatusReportResp added in v1.10.0

type StatusReportResp struct {

	/* 手机号 (Optional) */
	PhoneNum string `json:"phoneNum"`

	/* 发送短信的序列号 (Optional) */
	SequenceNumber string `json:"sequenceNumber"`

	/* 短信发送时间(yyyy-MM-dd HH:mm:ss) (Optional) */
	SendTime string `json:"sendTime"`

	/* 接收到回执的时间(yyyy-MM-dd HH:mm:ss) (Optional) */
	ReportTime string `json:"reportTime"`

	/* 发送状态 (Optional) */
	Status int `json:"status"`

	/* 错误码 (Optional) */
	Code string `json:"code"`

	/* 长短信拆分序号(短短信直接返回1) (Optional) */
	SplitNum int `json:"splitNum"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL