apis

package
v1.12.0 Latest Latest
Warning

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

Go to latest
Published: Aug 23, 2019 License: Apache-2.0 Imports: 2 Imported by: 8

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AddTemplateRequest

type AddTemplateRequest struct {
	core.JDCloudRequest

	/* Region ID  */
	RegionId string `json:"regionId"`

	/* appId参数 (Optional) */
	AppId *string `json:"appId"`

	/* signType参数 (Optional) */
	SignType *string `json:"signType"`

	/* purpose参数 (Optional) */
	Purpose *string `json:"purpose"`

	/* signCardType参数 (Optional) */
	SignCardType *string `json:"signCardType"`

	/* aptitudes参数 (Optional) */
	Aptitudes *string `json:"aptitudes"`

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

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

	/* isTuiding参数 (Optional) */
	IsTuiding *string `json:"isTuiding"`

	/* content参数 (Optional) */
	Content []rms.QueryAddTemplateContent `json:"content"`
}

func NewAddTemplateRequest

func NewAddTemplateRequest(
	regionId string,
) *AddTemplateRequest

* param regionId: Region ID (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewAddTemplateRequestWithAllParams

func NewAddTemplateRequestWithAllParams(
	regionId string,
	appId *string,
	signType *string,
	purpose *string,
	signCardType *string,
	aptitudes *string,
	title *string,
	description *string,
	isTuiding *string,
	content []rms.QueryAddTemplateContent,
) *AddTemplateRequest

* param regionId: Region ID (Required) * param appId: appId参数 (Optional) * param signType: signType参数 (Optional) * param purpose: purpose参数 (Optional) * param signCardType: signCardType参数 (Optional) * param aptitudes: aptitudes参数 (Optional) * param title: title参数 (Optional) * param description: description参数 (Optional) * param isTuiding: isTuiding参数 (Optional) * param content: content参数 (Optional)

func NewAddTemplateRequestWithoutParam

func NewAddTemplateRequestWithoutParam() *AddTemplateRequest

This constructor has better compatible ability when API parameters changed

func (AddTemplateRequest) GetRegionId

func (r AddTemplateRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*AddTemplateRequest) SetAppId

func (r *AddTemplateRequest) SetAppId(appId string)

param appId: appId参数(Optional)

func (*AddTemplateRequest) SetAptitudes

func (r *AddTemplateRequest) SetAptitudes(aptitudes string)

param aptitudes: aptitudes参数(Optional)

func (*AddTemplateRequest) SetContent

func (r *AddTemplateRequest) SetContent(content []rms.QueryAddTemplateContent)

param content: content参数(Optional)

func (*AddTemplateRequest) SetDescription

func (r *AddTemplateRequest) SetDescription(description string)

param description: description参数(Optional)

func (*AddTemplateRequest) SetIsTuiding

func (r *AddTemplateRequest) SetIsTuiding(isTuiding string)

param isTuiding: isTuiding参数(Optional)

func (*AddTemplateRequest) SetPurpose

func (r *AddTemplateRequest) SetPurpose(purpose string)

param purpose: purpose参数(Optional)

func (*AddTemplateRequest) SetRegionId

func (r *AddTemplateRequest) SetRegionId(regionId string)

param regionId: Region ID(Required)

func (*AddTemplateRequest) SetSignCardType

func (r *AddTemplateRequest) SetSignCardType(signCardType string)

param signCardType: signCardType参数(Optional)

func (*AddTemplateRequest) SetSignType

func (r *AddTemplateRequest) SetSignType(signType string)

param signType: signType参数(Optional)

func (*AddTemplateRequest) SetTitle

func (r *AddTemplateRequest) SetTitle(title string)

param title: title参数(Optional)

type AddTemplateResponse

type AddTemplateResponse struct {
	RequestID string             `json:"requestId"`
	Error     core.ErrorResponse `json:"error"`
	Result    AddTemplateResult  `json:"result"`
}

type AddTemplateResult

type AddTemplateResult struct {
	Data    []rms.RespAddTemplateData `json:"data"`
	Message string                    `json:"message"`
	Status  string                    `json:"status"`
}

type QueryOneTemplateRequest

type QueryOneTemplateRequest struct {
	core.JDCloudRequest

	/* Region ID  */
	RegionId string `json:"regionId"`

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

func NewQueryOneTemplateRequest

func NewQueryOneTemplateRequest(
	regionId string,
) *QueryOneTemplateRequest

* param regionId: Region ID (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewQueryOneTemplateRequestWithAllParams

func NewQueryOneTemplateRequestWithAllParams(
	regionId string,
	templateId *string,
) *QueryOneTemplateRequest

* param regionId: Region ID (Required) * param templateId: templateId参数 (Optional)

func NewQueryOneTemplateRequestWithoutParam

func NewQueryOneTemplateRequestWithoutParam() *QueryOneTemplateRequest

This constructor has better compatible ability when API parameters changed

func (QueryOneTemplateRequest) GetRegionId

func (r QueryOneTemplateRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*QueryOneTemplateRequest) SetRegionId

func (r *QueryOneTemplateRequest) SetRegionId(regionId string)

param regionId: Region ID(Required)

func (*QueryOneTemplateRequest) SetTemplateId

func (r *QueryOneTemplateRequest) SetTemplateId(templateId string)

param templateId: templateId参数(Optional)

type QueryOneTemplateResponse

type QueryOneTemplateResponse struct {
	RequestID string                 `json:"requestId"`
	Error     core.ErrorResponse     `json:"error"`
	Result    QueryOneTemplateResult `json:"result"`
}

type QueryOneTemplateResult

type QueryOneTemplateResult struct {
	Data        []rms.RespQueryOneTemplateResourceList `json:"data"`
	Description string                                 `json:"description"`
	MediaLength string                                 `json:"mediaLength"`
	Type        string                                 `json:"type"`
	Title       string                                 `json:"title"`
	IsTuiding   string                                 `json:"isTuiding"`
	Message     string                                 `json:"message"`
	Status      string                                 `json:"status"`
}

type QuerySendStatusRequest

type QuerySendStatusRequest struct {
	core.JDCloudRequest

	/* Region ID  */
	RegionId string `json:"regionId"`

	/* 获取发送状态请求参数  */
	QuerySendStatusSpec *rms.QuerySendStatusSpec `json:"querySendStatusSpec"`
}

func NewQuerySendStatusRequest

func NewQuerySendStatusRequest(
	regionId string,
	querySendStatusSpec *rms.QuerySendStatusSpec,
) *QuerySendStatusRequest

* param regionId: Region ID (Required) * param querySendStatusSpec: 获取发送状态请求参数 (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewQuerySendStatusRequestWithAllParams

func NewQuerySendStatusRequestWithAllParams(
	regionId string,
	querySendStatusSpec *rms.QuerySendStatusSpec,
) *QuerySendStatusRequest

* param regionId: Region ID (Required) * param querySendStatusSpec: 获取发送状态请求参数 (Required)

func NewQuerySendStatusRequestWithoutParam

func NewQuerySendStatusRequestWithoutParam() *QuerySendStatusRequest

This constructor has better compatible ability when API parameters changed

func (QuerySendStatusRequest) GetRegionId

func (r QuerySendStatusRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*QuerySendStatusRequest) SetQuerySendStatusSpec

func (r *QuerySendStatusRequest) SetQuerySendStatusSpec(querySendStatusSpec *rms.QuerySendStatusSpec)

param querySendStatusSpec: 获取发送状态请求参数(Required)

func (*QuerySendStatusRequest) SetRegionId

func (r *QuerySendStatusRequest) SetRegionId(regionId string)

param regionId: Region ID(Required)

type QuerySendStatusResponse

type QuerySendStatusResponse struct {
	RequestID string                `json:"requestId"`
	Error     core.ErrorResponse    `json:"error"`
	Result    QuerySendStatusResult `json:"result"`
}

type QuerySendStatusResult

type QuerySendStatusResult struct {
	Data []rms.QuerySendStatus `json:"data"`
}

type QueryTemplateListRequest

type QueryTemplateListRequest struct {
	core.JDCloudRequest

	/* Region ID  */
	RegionId string `json:"regionId"`

	/* appId参数 (Optional) */
	AppId *string `json:"appId"`

	/* searchKey参数 (Optional) */
	SearchKey *string `json:"searchKey"`

	/* pageNum参数 (Optional) */
	PageNum *string `json:"pageNum"`

	/* pageLimit参数 (Optional) */
	PageLimit *string `json:"pageLimit"`

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

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

	/* startTime参数 (Optional) */
	StartTime *string `json:"startTime"`

	/* endTime参数 (Optional) */
	EndTime *string `json:"endTime"`
}

func NewQueryTemplateListRequest

func NewQueryTemplateListRequest(
	regionId string,
) *QueryTemplateListRequest

* param regionId: Region ID (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewQueryTemplateListRequestWithAllParams

func NewQueryTemplateListRequestWithAllParams(
	regionId string,
	appId *string,
	searchKey *string,
	pageNum *string,
	pageLimit *string,
	status *string,
	title *string,
	startTime *string,
	endTime *string,
) *QueryTemplateListRequest

* param regionId: Region ID (Required) * param appId: appId参数 (Optional) * param searchKey: searchKey参数 (Optional) * param pageNum: pageNum参数 (Optional) * param pageLimit: pageLimit参数 (Optional) * param status: status参数 (Optional) * param title: title参数 (Optional) * param startTime: startTime参数 (Optional) * param endTime: endTime参数 (Optional)

func NewQueryTemplateListRequestWithoutParam

func NewQueryTemplateListRequestWithoutParam() *QueryTemplateListRequest

This constructor has better compatible ability when API parameters changed

func (QueryTemplateListRequest) GetRegionId

func (r QueryTemplateListRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*QueryTemplateListRequest) SetAppId

func (r *QueryTemplateListRequest) SetAppId(appId string)

param appId: appId参数(Optional)

func (*QueryTemplateListRequest) SetEndTime

func (r *QueryTemplateListRequest) SetEndTime(endTime string)

param endTime: endTime参数(Optional)

func (*QueryTemplateListRequest) SetPageLimit

func (r *QueryTemplateListRequest) SetPageLimit(pageLimit string)

param pageLimit: pageLimit参数(Optional)

func (*QueryTemplateListRequest) SetPageNum

func (r *QueryTemplateListRequest) SetPageNum(pageNum string)

param pageNum: pageNum参数(Optional)

func (*QueryTemplateListRequest) SetRegionId

func (r *QueryTemplateListRequest) SetRegionId(regionId string)

param regionId: Region ID(Required)

func (*QueryTemplateListRequest) SetSearchKey

func (r *QueryTemplateListRequest) SetSearchKey(searchKey string)

param searchKey: searchKey参数(Optional)

func (*QueryTemplateListRequest) SetStartTime

func (r *QueryTemplateListRequest) SetStartTime(startTime string)

param startTime: startTime参数(Optional)

func (*QueryTemplateListRequest) SetStatus

func (r *QueryTemplateListRequest) SetStatus(status string)

param status: status参数(Optional)

func (*QueryTemplateListRequest) SetTitle

func (r *QueryTemplateListRequest) SetTitle(title string)

param title: title参数(Optional)

type QueryTemplateListResponse

type QueryTemplateListResponse struct {
	RequestID string                  `json:"requestId"`
	Error     core.ErrorResponse      `json:"error"`
	Result    QueryTemplateListResult `json:"result"`
}

type QueryTemplateListResult

type QueryTemplateListResult struct {
	Data          []rms.RespQueryTemplateListData `json:"data"`
	Message       string                          `json:"message"`
	TotalElements string                          `json:"totalElements"`
	Status        string                          `json:"status"`
}

type SendBatchMsgRequest

type SendBatchMsgRequest struct {
	core.JDCloudRequest

	/* Region ID  */
	RegionId string `json:"regionId"`

	/* 指定短信Id群发短信请求参数  */
	SendBatchMsgSpec *rms.SendBatchMsgSpec `json:"sendBatchMsgSpec"`
}

func NewSendBatchMsgRequest

func NewSendBatchMsgRequest(
	regionId string,
	sendBatchMsgSpec *rms.SendBatchMsgSpec,
) *SendBatchMsgRequest

* param regionId: Region ID (Required) * param sendBatchMsgSpec: 指定短信Id群发短信请求参数 (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewSendBatchMsgRequestWithAllParams

func NewSendBatchMsgRequestWithAllParams(
	regionId string,
	sendBatchMsgSpec *rms.SendBatchMsgSpec,
) *SendBatchMsgRequest

* param regionId: Region ID (Required) * param sendBatchMsgSpec: 指定短信Id群发短信请求参数 (Required)

func NewSendBatchMsgRequestWithoutParam

func NewSendBatchMsgRequestWithoutParam() *SendBatchMsgRequest

This constructor has better compatible ability when API parameters changed

func (SendBatchMsgRequest) GetRegionId

func (r SendBatchMsgRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*SendBatchMsgRequest) SetRegionId

func (r *SendBatchMsgRequest) SetRegionId(regionId string)

param regionId: Region ID(Required)

func (*SendBatchMsgRequest) SetSendBatchMsgSpec

func (r *SendBatchMsgRequest) SetSendBatchMsgSpec(sendBatchMsgSpec *rms.SendBatchMsgSpec)

param sendBatchMsgSpec: 指定短信Id群发短信请求参数(Required)

type SendBatchMsgResponse

type SendBatchMsgResponse struct {
	RequestID string             `json:"requestId"`
	Error     core.ErrorResponse `json:"error"`
	Result    SendBatchMsgResult `json:"result"`
}

type SendBatchMsgResult

type SendBatchMsgResult struct {
	Data rms.SendBatchMsg `json:"data"`
}

Jump to

Keyboard shortcuts

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