models

package
v1.33.0 Latest Latest
Warning

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

Go to latest
Published: Jun 24, 2020 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 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