models

package
v1.38.0 Latest Latest
Warning

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

Go to latest
Published: Aug 6, 2020 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type QueryAddTemplateContent

type QueryAddTemplateContent struct {

	/* type参数 (Optional) */
	Type *string `json:"type"`

	/* txt参数 (Optional) */
	Txt *string `json:"txt"`

	/* file参数 (Optional) */
	File *string `json:"file"`
}

type QuerySendStatus

type QuerySendStatus struct {

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

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

type QuerySendStatusSpec

type QuerySendStatusSpec struct {

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

	/* 任务Id  */
	TaskId string `json:"taskId"`
}

type RespAddTemplateData

type RespAddTemplateData struct {

	/* templateId参数 (Optional) */
	TemplateId string `json:"templateId"`
}

type RespQueryOneTemplateResourceList

type RespQueryOneTemplateResourceList struct {

	/* size参数 (Optional) */
	Size string `json:"size"`

	/* name参数 (Optional) */
	Name string `json:"name"`

	/* type参数 (Optional) */
	Type string `json:"type"`

	/* url参数 (Optional) */
	Url string `json:"url"`

	/* content参数 (Optional) */
	Content string `json:"content"`
}

type RespQueryTemplateListData

type RespQueryTemplateListData struct {

	/* reason参数 (Optional) */
	Reason string `json:"reason"`

	/* createTime参数 (Optional) */
	CreateTime string `json:"createTime"`

	/* contentSize参数 (Optional) */
	ContentSize string `json:"contentSize"`

	/* description参数 (Optional) */
	Description string `json:"description"`

	/* templateId参数 (Optional) */
	TemplateId string `json:"templateId"`

	/* title参数 (Optional) */
	Title string `json:"title"`

	/* status参数 (Optional) */
	Status string `json:"status"`
}

type SendBatchMsg

type SendBatchMsg struct {

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

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

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

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

type SendBatchMsgSpec

type SendBatchMsgSpec struct {

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

	/* 短信Id  */
	MessageId string `json:"messageId"`

	/* 群发的国内电话号码,群发时一次最多不要超过100个手机号  */
	Phone []string `json:"phone"`

	/* 短信模板变量对应的数据值,Array格式 (Optional) */
	Params []string `json:"params"`
}

type SendStatus

type SendStatus struct {

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

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

	/* 任务ID (Optional) */
	TaskId string `json:"taskId"`

	/* 短信ID (Optional) */
	TemplateId string `json:"templateId"`

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

	/* 发送状态 -1:初始状态;0:成功发送到网关;1:下载成功;2:发送失败;3:未发送至网关,过期失败;4:发送到网关,过期失败 (Optional) */
	StateFlag int `json:"stateFlag"`

	/* 发送时间 (Optional) */
	SendTime string `json:"sendTime"`
}

Jump to

Keyboard shortcuts

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