Documentation ¶
Index ¶
- type CreateSmsAppUsingPOSTRequest
- func NewCreateSmsAppUsingPOSTRequest(appDesc string, appId string, appName string) *CreateSmsAppUsingPOSTRequest
- func NewCreateSmsAppUsingPOSTRequestWithAllParams(appDesc string, appId string, appName string) *CreateSmsAppUsingPOSTRequest
- func NewCreateSmsAppUsingPOSTRequestWithoutParam() *CreateSmsAppUsingPOSTRequest
- type CreateSmsAppUsingPOSTResponse
- type CreateSmsAppUsingPOSTResult
- type CreateSmsPackageUsingPOSTRequest
- func NewCreateSmsPackageUsingPOSTRequest(packageCount int, packageType int, specification string) *CreateSmsPackageUsingPOSTRequest
- func NewCreateSmsPackageUsingPOSTRequestWithAllParams(packageCount int, packageType int, specification string) *CreateSmsPackageUsingPOSTRequest
- func NewCreateSmsPackageUsingPOSTRequestWithoutParam() *CreateSmsPackageUsingPOSTRequest
- type CreateSmsPackageUsingPOSTResponse
- type CreateSmsPackageUsingPOSTResult
- type CreateSmsSignUsingPOSTRequest
- func NewCreateSmsSignUsingPOSTRequest(appId string, signCertificateUrl string, signContent string, signPurpose int, ...) *CreateSmsSignUsingPOSTRequest
- func NewCreateSmsSignUsingPOSTRequestWithAllParams(appId string, applyExplanation *string, signAttorneyUrl *string, ...) *CreateSmsSignUsingPOSTRequest
- func NewCreateSmsSignUsingPOSTRequestWithoutParam() *CreateSmsSignUsingPOSTRequest
- func (r CreateSmsSignUsingPOSTRequest) GetRegionId() string
- func (r *CreateSmsSignUsingPOSTRequest) SetAppId(appId string)
- func (r *CreateSmsSignUsingPOSTRequest) SetApplyExplanation(applyExplanation string)
- func (r *CreateSmsSignUsingPOSTRequest) SetSignAttorneyUrl(signAttorneyUrl string)
- func (r *CreateSmsSignUsingPOSTRequest) SetSignCertificateUrl(signCertificateUrl string)
- func (r *CreateSmsSignUsingPOSTRequest) SetSignContent(signContent string)
- func (r *CreateSmsSignUsingPOSTRequest) SetSignOtherCertificateUrl(signOtherCertificateUrl string)
- func (r *CreateSmsSignUsingPOSTRequest) SetSignPurpose(signPurpose int)
- func (r *CreateSmsSignUsingPOSTRequest) SetSignTypeId(signTypeId int)
- type CreateSmsSignUsingPOSTResponse
- type CreateSmsSignUsingPOSTResult
- type CreateSmsTaskUsingPOSTRequest
- func NewCreateSmsTaskUsingPOSTRequest(appId string, signId string, taskName string, templateId string) *CreateSmsTaskUsingPOSTRequest
- func NewCreateSmsTaskUsingPOSTRequestWithAllParams(appId string, sendNumberUrl *string, sendTime *string, signId string, ...) *CreateSmsTaskUsingPOSTRequest
- func NewCreateSmsTaskUsingPOSTRequestWithoutParam() *CreateSmsTaskUsingPOSTRequest
- func (r CreateSmsTaskUsingPOSTRequest) GetRegionId() string
- func (r *CreateSmsTaskUsingPOSTRequest) SetAppId(appId string)
- func (r *CreateSmsTaskUsingPOSTRequest) SetSendNumberUrl(sendNumberUrl string)
- func (r *CreateSmsTaskUsingPOSTRequest) SetSendTime(sendTime string)
- func (r *CreateSmsTaskUsingPOSTRequest) SetSignId(signId string)
- func (r *CreateSmsTaskUsingPOSTRequest) SetTaskName(taskName string)
- func (r *CreateSmsTaskUsingPOSTRequest) SetTemplateId(templateId string)
- type CreateSmsTaskUsingPOSTResponse
- type CreateSmsTaskUsingPOSTResult
- type CreateSmsTemplateUsingPOSTRequest
- func NewCreateSmsTemplateUsingPOSTRequest(appId string, templateContent string, templateName string, templateType int) *CreateSmsTemplateUsingPOSTRequest
- func NewCreateSmsTemplateUsingPOSTRequestWithAllParams(appId string, applyExplanation *string, templateContent string, ...) *CreateSmsTemplateUsingPOSTRequest
- func NewCreateSmsTemplateUsingPOSTRequestWithoutParam() *CreateSmsTemplateUsingPOSTRequest
- func (r CreateSmsTemplateUsingPOSTRequest) GetRegionId() string
- func (r *CreateSmsTemplateUsingPOSTRequest) SetAppId(appId string)
- func (r *CreateSmsTemplateUsingPOSTRequest) SetApplyExplanation(applyExplanation string)
- func (r *CreateSmsTemplateUsingPOSTRequest) SetTemplateContent(templateContent string)
- func (r *CreateSmsTemplateUsingPOSTRequest) SetTemplateName(templateName string)
- func (r *CreateSmsTemplateUsingPOSTRequest) SetTemplateType(templateType int)
- type CreateSmsTemplateUsingPOSTResponse
- type CreateSmsTemplateUsingPOSTResult
- type GetSmsAppByIdUsingGETRequest
- type GetSmsAppByIdUsingGETResponse
- type GetSmsAppByIdUsingGETResult
- type GetSmsPackageByIdUsingGETRequest
- type GetSmsPackageByIdUsingGETResponse
- type GetSmsPackageByIdUsingGETResult
- type GetSmsPackageSpecificationsUsingGETRequest
- func NewGetSmsPackageSpecificationsUsingGETRequest(packageType int) *GetSmsPackageSpecificationsUsingGETRequest
- func NewGetSmsPackageSpecificationsUsingGETRequestWithAllParams(packageType int) *GetSmsPackageSpecificationsUsingGETRequest
- func NewGetSmsPackageSpecificationsUsingGETRequestWithoutParam() *GetSmsPackageSpecificationsUsingGETRequest
- type GetSmsPackageSpecificationsUsingGETResponse
- type GetSmsPackageSpecificationsUsingGETResult
- type GetSmsSignByIdUsingGETRequest
- type GetSmsSignByIdUsingGETResponse
- type GetSmsSignByIdUsingGETResult
- type GetSmsTaskIdUsingGETRequest
- type GetSmsTaskIdUsingGETResponse
- type GetSmsTaskIdUsingGETResult
- type GetSmsTemplateByIdUsingGETRequest
- type GetSmsTemplateByIdUsingGETResponse
- type GetSmsTemplateByIdUsingGETResult
- type ListSmsAppGeneralSettingsUsingGETRequest
- func NewListSmsAppGeneralSettingsUsingGETRequest() *ListSmsAppGeneralSettingsUsingGETRequest
- func NewListSmsAppGeneralSettingsUsingGETRequestWithAllParams(appId *string, type_ *int) *ListSmsAppGeneralSettingsUsingGETRequest
- func NewListSmsAppGeneralSettingsUsingGETRequestWithoutParam() *ListSmsAppGeneralSettingsUsingGETRequest
- type ListSmsAppGeneralSettingsUsingGETResponse
- type ListSmsAppGeneralSettingsUsingGETResult
- type ListSmsAppsUsingGETRequest
- func (r ListSmsAppsUsingGETRequest) GetRegionId() string
- func (r *ListSmsAppsUsingGETRequest) SetAppName(appName string)
- func (r *ListSmsAppsUsingGETRequest) SetPageNumber(pageNumber int)
- func (r *ListSmsAppsUsingGETRequest) SetPageSize(pageSize int)
- func (r *ListSmsAppsUsingGETRequest) SetStatus(status string)
- type ListSmsAppsUsingGETResponse
- type ListSmsAppsUsingGETResult
- type ListSmsCertificateTypesUsingGETRequest
- type ListSmsCertificateTypesUsingGETResponse
- type ListSmsCertificateTypesUsingGETResult
- type ListSmsPackagesUsingGETRequest
- type ListSmsPackagesUsingGETResponse
- type ListSmsPackagesUsingGETResult
- type ListSmsSendOverviewUsingGETRequest
- func NewListSmsSendOverviewUsingGETRequest(appId string, endTime string, startTime string) *ListSmsSendOverviewUsingGETRequest
- func NewListSmsSendOverviewUsingGETRequestWithAllParams(appId string, packageType *int, templateId *string, endTime string, ...) *ListSmsSendOverviewUsingGETRequest
- func NewListSmsSendOverviewUsingGETRequestWithoutParam() *ListSmsSendOverviewUsingGETRequest
- func (r ListSmsSendOverviewUsingGETRequest) GetRegionId() string
- func (r *ListSmsSendOverviewUsingGETRequest) SetAppId(appId string)
- func (r *ListSmsSendOverviewUsingGETRequest) SetEndTime(endTime string)
- func (r *ListSmsSendOverviewUsingGETRequest) SetPackageType(packageType int)
- func (r *ListSmsSendOverviewUsingGETRequest) SetStartTime(startTime string)
- func (r *ListSmsSendOverviewUsingGETRequest) SetTemplateId(templateId string)
- type ListSmsSendOverviewUsingGETResponse
- type ListSmsSendOverviewUsingGETResult
- type ListSmsSignTypesUsingGETRequest
- type ListSmsSignTypesUsingGETResponse
- type ListSmsSignTypesUsingGETResult
- type ListSmsSignsUsingGETRequest
- func (r ListSmsSignsUsingGETRequest) GetRegionId() string
- func (r *ListSmsSignsUsingGETRequest) SetAppId(appId string)
- func (r *ListSmsSignsUsingGETRequest) SetPageNumber(pageNumber int)
- func (r *ListSmsSignsUsingGETRequest) SetPageSize(pageSize int)
- func (r *ListSmsSignsUsingGETRequest) SetStatus(status string)
- type ListSmsSignsUsingGETResponse
- type ListSmsSignsUsingGETResult
- type ListSmsTasksUsingGETRequest
- func (r ListSmsTasksUsingGETRequest) GetRegionId() string
- func (r *ListSmsTasksUsingGETRequest) SetAppId(appId string)
- func (r *ListSmsTasksUsingGETRequest) SetPageNumber(pageNumber int)
- func (r *ListSmsTasksUsingGETRequest) SetPageSize(pageSize int)
- func (r *ListSmsTasksUsingGETRequest) SetStatus(status int)
- type ListSmsTasksUsingGETResponse
- type ListSmsTasksUsingGETResult
- type ListSmsTemplatesUsingGETRequest
- func NewListSmsTemplatesUsingGETRequest(appId string) *ListSmsTemplatesUsingGETRequest
- func NewListSmsTemplatesUsingGETRequestWithAllParams(appId string, pageNumber *int, pageSize *int, status *string) *ListSmsTemplatesUsingGETRequest
- func NewListSmsTemplatesUsingGETRequestWithoutParam() *ListSmsTemplatesUsingGETRequest
- func (r ListSmsTemplatesUsingGETRequest) GetRegionId() string
- func (r *ListSmsTemplatesUsingGETRequest) SetAppId(appId string)
- func (r *ListSmsTemplatesUsingGETRequest) SetPageNumber(pageNumber int)
- func (r *ListSmsTemplatesUsingGETRequest) SetPageSize(pageSize int)
- func (r *ListSmsTemplatesUsingGETRequest) SetStatus(status string)
- type ListSmsTemplatesUsingGETResponse
- type ListSmsTemplatesUsingGETResult
- type ModifyAppGeneralSettingByIdRequest
- func NewModifyAppGeneralSettingByIdRequest() *ModifyAppGeneralSettingByIdRequest
- func NewModifyAppGeneralSettingByIdRequestWithAllParams(id *int, settingValue *string, status *int) *ModifyAppGeneralSettingByIdRequest
- func NewModifyAppGeneralSettingByIdRequestWithoutParam() *ModifyAppGeneralSettingByIdRequest
- type ModifyAppGeneralSettingByIdResponse
- type ModifyAppGeneralSettingByIdResult
- type ModifySmsAppUsingPOSTRequest
- type ModifySmsAppUsingPOSTResponse
- type ModifySmsAppUsingPOSTResult
- type ModifySmsSignUsingPOSTRequest
- func NewModifySmsSignUsingPOSTRequest(signId string, appId string, signCertificateUrl string, signContent string, ...) *ModifySmsSignUsingPOSTRequest
- func NewModifySmsSignUsingPOSTRequestWithAllParams(signId string, appId string, applyExplanation *string, signAttorneyUrl *string, ...) *ModifySmsSignUsingPOSTRequest
- func NewModifySmsSignUsingPOSTRequestWithoutParam() *ModifySmsSignUsingPOSTRequest
- func (r ModifySmsSignUsingPOSTRequest) GetRegionId() string
- func (r *ModifySmsSignUsingPOSTRequest) SetAppId(appId string)
- func (r *ModifySmsSignUsingPOSTRequest) SetApplyExplanation(applyExplanation string)
- func (r *ModifySmsSignUsingPOSTRequest) SetSignAttorneyUrl(signAttorneyUrl string)
- func (r *ModifySmsSignUsingPOSTRequest) SetSignCertificateUrl(signCertificateUrl string)
- func (r *ModifySmsSignUsingPOSTRequest) SetSignContent(signContent string)
- func (r *ModifySmsSignUsingPOSTRequest) SetSignId(signId string)
- func (r *ModifySmsSignUsingPOSTRequest) SetSignOtherCertificateUrl(signOtherCertificateUrl string)
- func (r *ModifySmsSignUsingPOSTRequest) SetSignPurpose(signPurpose int)
- func (r *ModifySmsSignUsingPOSTRequest) SetSignTypeId(signTypeId int)
- type ModifySmsSignUsingPOSTResponse
- type ModifySmsSignUsingPOSTResult
- type ModifySmsTemplateUsingPOSTRequest
- func NewModifySmsTemplateUsingPOSTRequest(templateId string, appId string, templateContent string, templateName string, ...) *ModifySmsTemplateUsingPOSTRequest
- func NewModifySmsTemplateUsingPOSTRequestWithAllParams(templateId string, appId string, applyExplanation *string, ...) *ModifySmsTemplateUsingPOSTRequest
- func NewModifySmsTemplateUsingPOSTRequestWithoutParam() *ModifySmsTemplateUsingPOSTRequest
- func (r ModifySmsTemplateUsingPOSTRequest) GetRegionId() string
- func (r *ModifySmsTemplateUsingPOSTRequest) SetAppId(appId string)
- func (r *ModifySmsTemplateUsingPOSTRequest) SetApplyExplanation(applyExplanation string)
- func (r *ModifySmsTemplateUsingPOSTRequest) SetTemplateContent(templateContent string)
- func (r *ModifySmsTemplateUsingPOSTRequest) SetTemplateId(templateId string)
- func (r *ModifySmsTemplateUsingPOSTRequest) SetTemplateName(templateName string)
- func (r *ModifySmsTemplateUsingPOSTRequest) SetTemplateType(templateType int)
- type ModifySmsTemplateUsingPOSTResponse
- type ModifySmsTemplateUsingPOSTResult
- type ModifyStatusUsingPOSTRequest
- type ModifyStatusUsingPOSTResponse
- type ModifyStatusUsingPOSTResult
- type OpenServiceUsingPOSTRequest
- type OpenServiceUsingPOSTResponse
- type OpenServiceUsingPOSTResult
- type QueryAmountUsingGETRequest
- type QueryAmountUsingGETResponse
- type QueryAmountUsingGETResult
- type QueryReceiptRecordUsingGETRequest
- func NewQueryReceiptRecordUsingGETRequest(appId string, endTime string, startTime string) *QueryReceiptRecordUsingGETRequest
- func NewQueryReceiptRecordUsingGETRequestWithAllParams(appId string, endTime string, startTime string) *QueryReceiptRecordUsingGETRequest
- func NewQueryReceiptRecordUsingGETRequestWithoutParam() *QueryReceiptRecordUsingGETRequest
- type QueryReceiptRecordUsingGETResponse
- type QueryReceiptRecordUsingGETResult
- type QueryRemainingUsingGETRequest
- type QueryRemainingUsingGETResponse
- type QueryRemainingUsingGETResult
- type QueryReplyRecordUsingGETRequest
- func NewQueryReplyRecordUsingGETRequest(appId string, endTime string, startTime string) *QueryReplyRecordUsingGETRequest
- func NewQueryReplyRecordUsingGETRequestWithAllParams(appId string, sendNumber *string, pageNumber *int, pageSize *int, ...) *QueryReplyRecordUsingGETRequest
- func NewQueryReplyRecordUsingGETRequestWithoutParam() *QueryReplyRecordUsingGETRequest
- func (r QueryReplyRecordUsingGETRequest) GetRegionId() string
- func (r *QueryReplyRecordUsingGETRequest) SetAppId(appId string)
- func (r *QueryReplyRecordUsingGETRequest) SetEndTime(endTime string)
- func (r *QueryReplyRecordUsingGETRequest) SetPageNumber(pageNumber int)
- func (r *QueryReplyRecordUsingGETRequest) SetPageSize(pageSize int)
- func (r *QueryReplyRecordUsingGETRequest) SetSendNumber(sendNumber string)
- func (r *QueryReplyRecordUsingGETRequest) SetStartTime(startTime string)
- type QueryReplyRecordUsingGETResponse
- type QueryReplyRecordUsingGETResult
- type QuerySecretKeyUsingGETRequest
- type QuerySecretKeyUsingGETResponse
- type QuerySecretKeyUsingGETResult
- type QuerySendRecordUsingGETRequest
- func NewQuerySendRecordUsingGETRequest(appId string, endTime string, startTime string) *QuerySendRecordUsingGETRequest
- func NewQuerySendRecordUsingGETRequestWithAllParams(appId string, sendStatus *int, sendNumber *string, templateId *string, ...) *QuerySendRecordUsingGETRequest
- func NewQuerySendRecordUsingGETRequestWithoutParam() *QuerySendRecordUsingGETRequest
- func (r QuerySendRecordUsingGETRequest) GetRegionId() string
- func (r *QuerySendRecordUsingGETRequest) SetAppId(appId string)
- func (r *QuerySendRecordUsingGETRequest) SetEndTime(endTime string)
- func (r *QuerySendRecordUsingGETRequest) SetPageNumber(pageNumber int)
- func (r *QuerySendRecordUsingGETRequest) SetPageSize(pageSize int)
- func (r *QuerySendRecordUsingGETRequest) SetSendNumber(sendNumber string)
- func (r *QuerySendRecordUsingGETRequest) SetSendStatus(sendStatus int)
- func (r *QuerySendRecordUsingGETRequest) SetSign_id(sign_id string)
- func (r *QuerySendRecordUsingGETRequest) SetStartTime(startTime string)
- func (r *QuerySendRecordUsingGETRequest) SetTemplateId(templateId string)
- type QuerySendRecordUsingGETResponse
- type QuerySendRecordUsingGETResult
- type SendMessagesUsingPOSTRequest
- func NewSendMessagesUsingPOSTRequest(appId string, params []string, phoneList []string, signId string, ...) *SendMessagesUsingPOSTRequest
- func NewSendMessagesUsingPOSTRequestWithAllParams(appId string, params []string, phoneList []string, signId string, ...) *SendMessagesUsingPOSTRequest
- func NewSendMessagesUsingPOSTRequestWithoutParam() *SendMessagesUsingPOSTRequest
- func (r SendMessagesUsingPOSTRequest) GetRegionId() string
- func (r *SendMessagesUsingPOSTRequest) SetAppId(appId string)
- func (r *SendMessagesUsingPOSTRequest) SetParams(params []string)
- func (r *SendMessagesUsingPOSTRequest) SetPhoneList(phoneList []string)
- func (r *SendMessagesUsingPOSTRequest) SetSignId(signId string)
- func (r *SendMessagesUsingPOSTRequest) SetTemplateId(templateId string)
- type SendMessagesUsingPOSTResponse
- type SendMessagesUsingPOSTResult
- type TaskStartUsingGETRequest
- type TaskStartUsingGETResponse
- type TaskStartUsingGETResult
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CreateSmsAppUsingPOSTRequest ¶
type CreateSmsAppUsingPOSTRequest struct { core.JDCloudRequest /* 应用描述 */ AppDesc string `json:"appDesc"` /* 云鼎应用id */ AppId string `json:"appId"` /* 应用名称 */ AppName string `json:"appName"` }
func NewCreateSmsAppUsingPOSTRequest ¶
func NewCreateSmsAppUsingPOSTRequest( appDesc string, appId string, appName string, ) *CreateSmsAppUsingPOSTRequest
* param appDesc: 应用描述 (Required) * param appId: 云鼎应用id (Required) * param appName: 应用名称 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewCreateSmsAppUsingPOSTRequestWithAllParams ¶
func NewCreateSmsAppUsingPOSTRequestWithAllParams( appDesc string, appId string, appName string, ) *CreateSmsAppUsingPOSTRequest
* param appDesc: 应用描述 (Required) * param appId: 云鼎应用id (Required) * param appName: 应用名称 (Required)
func NewCreateSmsAppUsingPOSTRequestWithoutParam ¶
func NewCreateSmsAppUsingPOSTRequestWithoutParam() *CreateSmsAppUsingPOSTRequest
This constructor has better compatible ability when API parameters changed
func (CreateSmsAppUsingPOSTRequest) GetRegionId ¶
func (r CreateSmsAppUsingPOSTRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*CreateSmsAppUsingPOSTRequest) SetAppDesc ¶
func (r *CreateSmsAppUsingPOSTRequest) SetAppDesc(appDesc string)
param appDesc: 应用描述(Required)
func (*CreateSmsAppUsingPOSTRequest) SetAppId ¶
func (r *CreateSmsAppUsingPOSTRequest) SetAppId(appId string)
param appId: 云鼎应用id(Required)
func (*CreateSmsAppUsingPOSTRequest) SetAppName ¶
func (r *CreateSmsAppUsingPOSTRequest) SetAppName(appName string)
param appName: 应用名称(Required)
type CreateSmsAppUsingPOSTResponse ¶
type CreateSmsAppUsingPOSTResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result CreateSmsAppUsingPOSTResult `json:"result"` }
type CreateSmsAppUsingPOSTResult ¶
type CreateSmsAppUsingPOSTResult struct {
AppId string `json:"appId"`
}
type CreateSmsPackageUsingPOSTRequest ¶
type CreateSmsPackageUsingPOSTRequest struct { core.JDCloudRequest /* 套餐包数量 */ PackageCount int `json:"packageCount"` /* 套餐包类型,1通道短信,2官方短信 */ PackageType int `json:"packageType"` /* 套餐包规格 */ Specification string `json:"specification"` }
func NewCreateSmsPackageUsingPOSTRequest ¶
func NewCreateSmsPackageUsingPOSTRequest( packageCount int, packageType int, specification string, ) *CreateSmsPackageUsingPOSTRequest
* param packageCount: 套餐包数量 (Required) * param packageType: 套餐包类型,1通道短信,2官方短信 (Required) * param specification: 套餐包规格 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewCreateSmsPackageUsingPOSTRequestWithAllParams ¶
func NewCreateSmsPackageUsingPOSTRequestWithAllParams( packageCount int, packageType int, specification string, ) *CreateSmsPackageUsingPOSTRequest
* param packageCount: 套餐包数量 (Required) * param packageType: 套餐包类型,1通道短信,2官方短信 (Required) * param specification: 套餐包规格 (Required)
func NewCreateSmsPackageUsingPOSTRequestWithoutParam ¶
func NewCreateSmsPackageUsingPOSTRequestWithoutParam() *CreateSmsPackageUsingPOSTRequest
This constructor has better compatible ability when API parameters changed
func (CreateSmsPackageUsingPOSTRequest) GetRegionId ¶
func (r CreateSmsPackageUsingPOSTRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*CreateSmsPackageUsingPOSTRequest) SetPackageCount ¶
func (r *CreateSmsPackageUsingPOSTRequest) SetPackageCount(packageCount int)
param packageCount: 套餐包数量(Required)
func (*CreateSmsPackageUsingPOSTRequest) SetPackageType ¶
func (r *CreateSmsPackageUsingPOSTRequest) SetPackageType(packageType int)
param packageType: 套餐包类型,1通道短信,2官方短信(Required)
func (*CreateSmsPackageUsingPOSTRequest) SetSpecification ¶
func (r *CreateSmsPackageUsingPOSTRequest) SetSpecification(specification string)
param specification: 套餐包规格(Required)
type CreateSmsPackageUsingPOSTResponse ¶
type CreateSmsPackageUsingPOSTResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result CreateSmsPackageUsingPOSTResult `json:"result"` }
type CreateSmsPackageUsingPOSTResult ¶
type CreateSmsPackageUsingPOSTResult struct {
BuyId string `json:"buyId"`
}
type CreateSmsSignUsingPOSTRequest ¶
type CreateSmsSignUsingPOSTRequest struct { core.JDCloudRequest /* 应用id */ AppId string `json:"appId"` /* 申请说明 (Optional) */ ApplyExplanation *string `json:"applyExplanation"` /* 授权委托下载地址,若短信签名用途为他用,涉及第三方权益需上传,上传至 oss (Optional) */ SignAttorneyUrl *string `json:"signAttorneyUrl"` /* 证明材料下载地址,上传至 oss */ SignCertificateUrl string `json:"signCertificateUrl"` /* 若签名内容侵犯到第三方权益必须获得第三方真实授权,长度为 2~12 个字符无须添加【】、()、[] 符号,签名发送会自带【】符号,避免重复 */ SignContent string `json:"signContent"` /* 其他证明材料下载地址 上传至 oss (Optional) */ SignOtherCertificateUrl *string `json:"signOtherCertificateUrl"` /* 签名用途,0自用 1他用 */ SignPurpose int `json:"signPurpose"` /* 签名类型id,调用listSmsSignTypesUsingGET 接口获取 */ SignTypeId int `json:"signTypeId"` }
func NewCreateSmsSignUsingPOSTRequest ¶
func NewCreateSmsSignUsingPOSTRequest( appId string, signCertificateUrl string, signContent string, signPurpose int, signTypeId int, ) *CreateSmsSignUsingPOSTRequest
* param appId: 应用id (Required) * param signCertificateUrl: 证明材料下载地址,上传至 oss (Required) * param signContent: 若签名内容侵犯到第三方权益必须获得第三方真实授权,长度为 2~12 个字符无须添加【】、()、[] 符号,签名发送会自带【】符号,避免重复 (Required) * param signPurpose: 签名用途,0自用 1他用 (Required) * param signTypeId: 签名类型id,调用listSmsSignTypesUsingGET 接口获取 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewCreateSmsSignUsingPOSTRequestWithAllParams ¶
func NewCreateSmsSignUsingPOSTRequestWithAllParams( appId string, applyExplanation *string, signAttorneyUrl *string, signCertificateUrl string, signContent string, signOtherCertificateUrl *string, signPurpose int, signTypeId int, ) *CreateSmsSignUsingPOSTRequest
* param appId: 应用id (Required) * param applyExplanation: 申请说明 (Optional) * param signAttorneyUrl: 授权委托下载地址,若短信签名用途为他用,涉及第三方权益需上传,上传至 oss (Optional) * param signCertificateUrl: 证明材料下载地址,上传至 oss (Required) * param signContent: 若签名内容侵犯到第三方权益必须获得第三方真实授权,长度为 2~12 个字符无须添加【】、()、[] 符号,签名发送会自带【】符号,避免重复 (Required) * param signOtherCertificateUrl: 其他证明材料下载地址 上传至 oss (Optional) * param signPurpose: 签名用途,0自用 1他用 (Required) * param signTypeId: 签名类型id,调用listSmsSignTypesUsingGET 接口获取 (Required)
func NewCreateSmsSignUsingPOSTRequestWithoutParam ¶
func NewCreateSmsSignUsingPOSTRequestWithoutParam() *CreateSmsSignUsingPOSTRequest
This constructor has better compatible ability when API parameters changed
func (CreateSmsSignUsingPOSTRequest) GetRegionId ¶
func (r CreateSmsSignUsingPOSTRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*CreateSmsSignUsingPOSTRequest) SetAppId ¶
func (r *CreateSmsSignUsingPOSTRequest) SetAppId(appId string)
param appId: 应用id(Required)
func (*CreateSmsSignUsingPOSTRequest) SetApplyExplanation ¶
func (r *CreateSmsSignUsingPOSTRequest) SetApplyExplanation(applyExplanation string)
param applyExplanation: 申请说明(Optional)
func (*CreateSmsSignUsingPOSTRequest) SetSignAttorneyUrl ¶
func (r *CreateSmsSignUsingPOSTRequest) SetSignAttorneyUrl(signAttorneyUrl string)
param signAttorneyUrl: 授权委托下载地址,若短信签名用途为他用,涉及第三方权益需上传,上传至 oss(Optional)
func (*CreateSmsSignUsingPOSTRequest) SetSignCertificateUrl ¶
func (r *CreateSmsSignUsingPOSTRequest) SetSignCertificateUrl(signCertificateUrl string)
param signCertificateUrl: 证明材料下载地址,上传至 oss(Required)
func (*CreateSmsSignUsingPOSTRequest) SetSignContent ¶
func (r *CreateSmsSignUsingPOSTRequest) SetSignContent(signContent string)
param signContent: 若签名内容侵犯到第三方权益必须获得第三方真实授权,长度为 2~12 个字符无须添加【】、()、[] 符号,签名发送会自带【】符号,避免重复(Required)
func (*CreateSmsSignUsingPOSTRequest) SetSignOtherCertificateUrl ¶
func (r *CreateSmsSignUsingPOSTRequest) SetSignOtherCertificateUrl(signOtherCertificateUrl string)
param signOtherCertificateUrl: 其他证明材料下载地址 上传至 oss(Optional)
func (*CreateSmsSignUsingPOSTRequest) SetSignPurpose ¶
func (r *CreateSmsSignUsingPOSTRequest) SetSignPurpose(signPurpose int)
param signPurpose: 签名用途,0自用 1他用(Required)
func (*CreateSmsSignUsingPOSTRequest) SetSignTypeId ¶
func (r *CreateSmsSignUsingPOSTRequest) SetSignTypeId(signTypeId int)
param signTypeId: 签名类型id,调用listSmsSignTypesUsingGET 接口获取(Required)
type CreateSmsSignUsingPOSTResponse ¶
type CreateSmsSignUsingPOSTResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result CreateSmsSignUsingPOSTResult `json:"result"` }
type CreateSmsSignUsingPOSTResult ¶
type CreateSmsSignUsingPOSTResult struct {
SignId string `json:"signId"`
}
type CreateSmsTaskUsingPOSTRequest ¶
type CreateSmsTaskUsingPOSTRequest struct { core.JDCloudRequest /* 应用id */ AppId string `json:"appId"` /* 短信发送号码集合文件 (Optional) */ SendNumberUrl *string `json:"sendNumberUrl"` /* 短信发送时间,不传表示立即发送 (Optional) */ SendTime *string `json:"sendTime"` /* 短信签名id */ SignId string `json:"signId"` /* 任务名称 */ TaskName string `json:"taskName"` /* 短信模板id */ TemplateId string `json:"templateId"` }
func NewCreateSmsTaskUsingPOSTRequest ¶
func NewCreateSmsTaskUsingPOSTRequest( appId string, signId string, taskName string, templateId string, ) *CreateSmsTaskUsingPOSTRequest
* param appId: 应用id (Required) * param signId: 短信签名id (Required) * param taskName: 任务名称 (Required) * param templateId: 短信模板id (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewCreateSmsTaskUsingPOSTRequestWithAllParams ¶
func NewCreateSmsTaskUsingPOSTRequestWithAllParams( appId string, sendNumberUrl *string, sendTime *string, signId string, taskName string, templateId string, ) *CreateSmsTaskUsingPOSTRequest
* param appId: 应用id (Required) * param sendNumberUrl: 短信发送号码集合文件 (Optional) * param sendTime: 短信发送时间,不传表示立即发送 (Optional) * param signId: 短信签名id (Required) * param taskName: 任务名称 (Required) * param templateId: 短信模板id (Required)
func NewCreateSmsTaskUsingPOSTRequestWithoutParam ¶
func NewCreateSmsTaskUsingPOSTRequestWithoutParam() *CreateSmsTaskUsingPOSTRequest
This constructor has better compatible ability when API parameters changed
func (CreateSmsTaskUsingPOSTRequest) GetRegionId ¶
func (r CreateSmsTaskUsingPOSTRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*CreateSmsTaskUsingPOSTRequest) SetAppId ¶
func (r *CreateSmsTaskUsingPOSTRequest) SetAppId(appId string)
param appId: 应用id(Required)
func (*CreateSmsTaskUsingPOSTRequest) SetSendNumberUrl ¶
func (r *CreateSmsTaskUsingPOSTRequest) SetSendNumberUrl(sendNumberUrl string)
param sendNumberUrl: 短信发送号码集合文件(Optional)
func (*CreateSmsTaskUsingPOSTRequest) SetSendTime ¶
func (r *CreateSmsTaskUsingPOSTRequest) SetSendTime(sendTime string)
param sendTime: 短信发送时间,不传表示立即发送(Optional)
func (*CreateSmsTaskUsingPOSTRequest) SetSignId ¶
func (r *CreateSmsTaskUsingPOSTRequest) SetSignId(signId string)
param signId: 短信签名id(Required)
func (*CreateSmsTaskUsingPOSTRequest) SetTaskName ¶
func (r *CreateSmsTaskUsingPOSTRequest) SetTaskName(taskName string)
param taskName: 任务名称(Required)
func (*CreateSmsTaskUsingPOSTRequest) SetTemplateId ¶
func (r *CreateSmsTaskUsingPOSTRequest) SetTemplateId(templateId string)
param templateId: 短信模板id(Required)
type CreateSmsTaskUsingPOSTResponse ¶
type CreateSmsTaskUsingPOSTResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result CreateSmsTaskUsingPOSTResult `json:"result"` }
type CreateSmsTaskUsingPOSTResult ¶
type CreateSmsTaskUsingPOSTResult struct {
TaskId string `json:"taskId"`
}
type CreateSmsTemplateUsingPOSTRequest ¶
type CreateSmsTemplateUsingPOSTRequest struct { core.JDCloudRequest /* 应用id */ AppId string `json:"appId"` /* 申请说明 (Optional) */ ApplyExplanation *string `json:"applyExplanation"` /* 模板内容 */ TemplateContent string `json:"templateContent"` /* 模板名称 */ TemplateName string `json:"templateName"` /* 模板类型:0 验证码短信,1 通知短信,2 推广短信 */ TemplateType int `json:"templateType"` }
func NewCreateSmsTemplateUsingPOSTRequest ¶
func NewCreateSmsTemplateUsingPOSTRequest( appId string, templateContent string, templateName string, templateType int, ) *CreateSmsTemplateUsingPOSTRequest
* param appId: 应用id (Required) * param templateContent: 模板内容 (Required) * param templateName: 模板名称 (Required) * param templateType: 模板类型:0 验证码短信,1 通知短信,2 推广短信 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewCreateSmsTemplateUsingPOSTRequestWithAllParams ¶
func NewCreateSmsTemplateUsingPOSTRequestWithAllParams( appId string, applyExplanation *string, templateContent string, templateName string, templateType int, ) *CreateSmsTemplateUsingPOSTRequest
* param appId: 应用id (Required) * param applyExplanation: 申请说明 (Optional) * param templateContent: 模板内容 (Required) * param templateName: 模板名称 (Required) * param templateType: 模板类型:0 验证码短信,1 通知短信,2 推广短信 (Required)
func NewCreateSmsTemplateUsingPOSTRequestWithoutParam ¶
func NewCreateSmsTemplateUsingPOSTRequestWithoutParam() *CreateSmsTemplateUsingPOSTRequest
This constructor has better compatible ability when API parameters changed
func (CreateSmsTemplateUsingPOSTRequest) GetRegionId ¶
func (r CreateSmsTemplateUsingPOSTRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*CreateSmsTemplateUsingPOSTRequest) SetAppId ¶
func (r *CreateSmsTemplateUsingPOSTRequest) SetAppId(appId string)
param appId: 应用id(Required)
func (*CreateSmsTemplateUsingPOSTRequest) SetApplyExplanation ¶
func (r *CreateSmsTemplateUsingPOSTRequest) SetApplyExplanation(applyExplanation string)
param applyExplanation: 申请说明(Optional)
func (*CreateSmsTemplateUsingPOSTRequest) SetTemplateContent ¶
func (r *CreateSmsTemplateUsingPOSTRequest) SetTemplateContent(templateContent string)
param templateContent: 模板内容(Required)
func (*CreateSmsTemplateUsingPOSTRequest) SetTemplateName ¶
func (r *CreateSmsTemplateUsingPOSTRequest) SetTemplateName(templateName string)
param templateName: 模板名称(Required)
func (*CreateSmsTemplateUsingPOSTRequest) SetTemplateType ¶
func (r *CreateSmsTemplateUsingPOSTRequest) SetTemplateType(templateType int)
param templateType: 模板类型:0 验证码短信,1 通知短信,2 推广短信(Required)
type CreateSmsTemplateUsingPOSTResponse ¶
type CreateSmsTemplateUsingPOSTResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result CreateSmsTemplateUsingPOSTResult `json:"result"` }
type CreateSmsTemplateUsingPOSTResult ¶
type CreateSmsTemplateUsingPOSTResult struct {
TemplateId string `json:"templateId"`
}
type GetSmsAppByIdUsingGETRequest ¶
type GetSmsAppByIdUsingGETRequest struct { core.JDCloudRequest /* 应用id */ AppId string `json:"appId"` }
func NewGetSmsAppByIdUsingGETRequest ¶
func NewGetSmsAppByIdUsingGETRequest( appId string, ) *GetSmsAppByIdUsingGETRequest
* param appId: 应用id (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewGetSmsAppByIdUsingGETRequestWithAllParams ¶
func NewGetSmsAppByIdUsingGETRequestWithAllParams( appId string, ) *GetSmsAppByIdUsingGETRequest
* param appId: 应用id (Required)
func NewGetSmsAppByIdUsingGETRequestWithoutParam ¶
func NewGetSmsAppByIdUsingGETRequestWithoutParam() *GetSmsAppByIdUsingGETRequest
This constructor has better compatible ability when API parameters changed
func (GetSmsAppByIdUsingGETRequest) GetRegionId ¶
func (r GetSmsAppByIdUsingGETRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*GetSmsAppByIdUsingGETRequest) SetAppId ¶
func (r *GetSmsAppByIdUsingGETRequest) SetAppId(appId string)
param appId: 应用id(Required)
type GetSmsAppByIdUsingGETResponse ¶
type GetSmsAppByIdUsingGETResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result GetSmsAppByIdUsingGETResult `json:"result"` }
type GetSmsPackageByIdUsingGETRequest ¶
type GetSmsPackageByIdUsingGETRequest struct { core.JDCloudRequest /* 套餐包id */ PackageId string `json:"packageId"` }
func NewGetSmsPackageByIdUsingGETRequest ¶
func NewGetSmsPackageByIdUsingGETRequest( packageId string, ) *GetSmsPackageByIdUsingGETRequest
* param packageId: 套餐包id (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewGetSmsPackageByIdUsingGETRequestWithAllParams ¶
func NewGetSmsPackageByIdUsingGETRequestWithAllParams( packageId string, ) *GetSmsPackageByIdUsingGETRequest
* param packageId: 套餐包id (Required)
func NewGetSmsPackageByIdUsingGETRequestWithoutParam ¶
func NewGetSmsPackageByIdUsingGETRequestWithoutParam() *GetSmsPackageByIdUsingGETRequest
This constructor has better compatible ability when API parameters changed
func (GetSmsPackageByIdUsingGETRequest) GetRegionId ¶
func (r GetSmsPackageByIdUsingGETRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*GetSmsPackageByIdUsingGETRequest) SetPackageId ¶
func (r *GetSmsPackageByIdUsingGETRequest) SetPackageId(packageId string)
param packageId: 套餐包id(Required)
type GetSmsPackageByIdUsingGETResponse ¶
type GetSmsPackageByIdUsingGETResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result GetSmsPackageByIdUsingGETResult `json:"result"` }
type GetSmsPackageByIdUsingGETResult ¶
type GetSmsPackageByIdUsingGETResult struct {
SmsPackageVO ydsms.SmsPackageVO `json:"smsPackageVO"`
}
type GetSmsPackageSpecificationsUsingGETRequest ¶
type GetSmsPackageSpecificationsUsingGETRequest struct { core.JDCloudRequest /* 套餐包类型,1通道短信 2官方短信 */ PackageType int `json:"packageType"` }
func NewGetSmsPackageSpecificationsUsingGETRequest ¶
func NewGetSmsPackageSpecificationsUsingGETRequest( packageType int, ) *GetSmsPackageSpecificationsUsingGETRequest
* param packageType: 套餐包类型,1通道短信 2官方短信 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewGetSmsPackageSpecificationsUsingGETRequestWithAllParams ¶
func NewGetSmsPackageSpecificationsUsingGETRequestWithAllParams( packageType int, ) *GetSmsPackageSpecificationsUsingGETRequest
* param packageType: 套餐包类型,1通道短信 2官方短信 (Required)
func NewGetSmsPackageSpecificationsUsingGETRequestWithoutParam ¶
func NewGetSmsPackageSpecificationsUsingGETRequestWithoutParam() *GetSmsPackageSpecificationsUsingGETRequest
This constructor has better compatible ability when API parameters changed
func (GetSmsPackageSpecificationsUsingGETRequest) GetRegionId ¶
func (r GetSmsPackageSpecificationsUsingGETRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*GetSmsPackageSpecificationsUsingGETRequest) SetPackageType ¶
func (r *GetSmsPackageSpecificationsUsingGETRequest) SetPackageType(packageType int)
param packageType: 套餐包类型,1通道短信 2官方短信(Required)
type GetSmsPackageSpecificationsUsingGETResponse ¶
type GetSmsPackageSpecificationsUsingGETResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result GetSmsPackageSpecificationsUsingGETResult `json:"result"` }
type GetSmsPackageSpecificationsUsingGETResult ¶
type GetSmsPackageSpecificationsUsingGETResult struct {
SpecificationVOS []ydsms.SpecificationVO `json:"specificationVOS"`
}
type GetSmsSignByIdUsingGETRequest ¶
type GetSmsSignByIdUsingGETRequest struct { core.JDCloudRequest /* 签名id */ SignId string `json:"signId"` }
func NewGetSmsSignByIdUsingGETRequest ¶
func NewGetSmsSignByIdUsingGETRequest( signId string, ) *GetSmsSignByIdUsingGETRequest
* param signId: 签名id (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewGetSmsSignByIdUsingGETRequestWithAllParams ¶
func NewGetSmsSignByIdUsingGETRequestWithAllParams( signId string, ) *GetSmsSignByIdUsingGETRequest
* param signId: 签名id (Required)
func NewGetSmsSignByIdUsingGETRequestWithoutParam ¶
func NewGetSmsSignByIdUsingGETRequestWithoutParam() *GetSmsSignByIdUsingGETRequest
This constructor has better compatible ability when API parameters changed
func (GetSmsSignByIdUsingGETRequest) GetRegionId ¶
func (r GetSmsSignByIdUsingGETRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*GetSmsSignByIdUsingGETRequest) SetSignId ¶
func (r *GetSmsSignByIdUsingGETRequest) SetSignId(signId string)
param signId: 签名id(Required)
type GetSmsSignByIdUsingGETResponse ¶
type GetSmsSignByIdUsingGETResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result GetSmsSignByIdUsingGETResult `json:"result"` }
type GetSmsTaskIdUsingGETRequest ¶
type GetSmsTaskIdUsingGETRequest struct { core.JDCloudRequest /* 任务id */ TaskId string `json:"taskId"` }
func NewGetSmsTaskIdUsingGETRequest ¶
func NewGetSmsTaskIdUsingGETRequest( taskId string, ) *GetSmsTaskIdUsingGETRequest
* param taskId: 任务id (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewGetSmsTaskIdUsingGETRequestWithAllParams ¶
func NewGetSmsTaskIdUsingGETRequestWithAllParams( taskId string, ) *GetSmsTaskIdUsingGETRequest
* param taskId: 任务id (Required)
func NewGetSmsTaskIdUsingGETRequestWithoutParam ¶
func NewGetSmsTaskIdUsingGETRequestWithoutParam() *GetSmsTaskIdUsingGETRequest
This constructor has better compatible ability when API parameters changed
func (GetSmsTaskIdUsingGETRequest) GetRegionId ¶
func (r GetSmsTaskIdUsingGETRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*GetSmsTaskIdUsingGETRequest) SetTaskId ¶
func (r *GetSmsTaskIdUsingGETRequest) SetTaskId(taskId string)
param taskId: 任务id(Required)
type GetSmsTaskIdUsingGETResponse ¶
type GetSmsTaskIdUsingGETResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result GetSmsTaskIdUsingGETResult `json:"result"` }
type GetSmsTemplateByIdUsingGETRequest ¶
type GetSmsTemplateByIdUsingGETRequest struct { core.JDCloudRequest /* 模板id */ TemplateId string `json:"templateId"` }
func NewGetSmsTemplateByIdUsingGETRequest ¶
func NewGetSmsTemplateByIdUsingGETRequest( templateId string, ) *GetSmsTemplateByIdUsingGETRequest
* param templateId: 模板id (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewGetSmsTemplateByIdUsingGETRequestWithAllParams ¶
func NewGetSmsTemplateByIdUsingGETRequestWithAllParams( templateId string, ) *GetSmsTemplateByIdUsingGETRequest
* param templateId: 模板id (Required)
func NewGetSmsTemplateByIdUsingGETRequestWithoutParam ¶
func NewGetSmsTemplateByIdUsingGETRequestWithoutParam() *GetSmsTemplateByIdUsingGETRequest
This constructor has better compatible ability when API parameters changed
func (GetSmsTemplateByIdUsingGETRequest) GetRegionId ¶
func (r GetSmsTemplateByIdUsingGETRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*GetSmsTemplateByIdUsingGETRequest) SetTemplateId ¶
func (r *GetSmsTemplateByIdUsingGETRequest) SetTemplateId(templateId string)
param templateId: 模板id(Required)
type GetSmsTemplateByIdUsingGETResponse ¶
type GetSmsTemplateByIdUsingGETResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result GetSmsTemplateByIdUsingGETResult `json:"result"` }
type GetSmsTemplateByIdUsingGETResult ¶
type GetSmsTemplateByIdUsingGETResult struct {
SmsTemplateVO ydsms.SmsTemplateVO `json:"smsTemplateVO"`
}
type ListSmsAppGeneralSettingsUsingGETRequest ¶
type ListSmsAppGeneralSettingsUsingGETRequest struct { core.JDCloudRequest /* 应用id (Optional) */ AppId *string `json:"appId"` /* 通用设置类型,0发送频率设置 1发送超量提醒 2短信发送状态回调地址 (Optional) */ Type *int `json:"type"` }
func NewListSmsAppGeneralSettingsUsingGETRequest ¶
func NewListSmsAppGeneralSettingsUsingGETRequest() *ListSmsAppGeneralSettingsUsingGETRequest
* * @Deprecated, not compatible when mandatory parameters changed
func NewListSmsAppGeneralSettingsUsingGETRequestWithAllParams ¶
func NewListSmsAppGeneralSettingsUsingGETRequestWithAllParams( appId *string, type_ *int, ) *ListSmsAppGeneralSettingsUsingGETRequest
* param appId: 应用id (Optional) * param type_: 通用设置类型,0发送频率设置 1发送超量提醒 2短信发送状态回调地址 (Optional)
func NewListSmsAppGeneralSettingsUsingGETRequestWithoutParam ¶
func NewListSmsAppGeneralSettingsUsingGETRequestWithoutParam() *ListSmsAppGeneralSettingsUsingGETRequest
This constructor has better compatible ability when API parameters changed
func (ListSmsAppGeneralSettingsUsingGETRequest) GetRegionId ¶
func (r ListSmsAppGeneralSettingsUsingGETRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*ListSmsAppGeneralSettingsUsingGETRequest) SetAppId ¶
func (r *ListSmsAppGeneralSettingsUsingGETRequest) SetAppId(appId string)
param appId: 应用id(Optional)
func (*ListSmsAppGeneralSettingsUsingGETRequest) SetType ¶
func (r *ListSmsAppGeneralSettingsUsingGETRequest) SetType(type_ int)
param type_: 通用设置类型,0发送频率设置 1发送超量提醒 2短信发送状态回调地址(Optional)
type ListSmsAppGeneralSettingsUsingGETResponse ¶
type ListSmsAppGeneralSettingsUsingGETResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result ListSmsAppGeneralSettingsUsingGETResult `json:"result"` }
type ListSmsAppGeneralSettingsUsingGETResult ¶
type ListSmsAppGeneralSettingsUsingGETResult struct {
AppGeneralSettings []ydsms.GeneralSettings `json:"appGeneralSettings"`
}
type ListSmsAppsUsingGETRequest ¶
type ListSmsAppsUsingGETRequest struct { core.JDCloudRequest /* 页码 (Optional) */ PageNumber *int `json:"pageNumber"` /* 分页大小 (Optional) */ PageSize *int `json:"pageSize"` /* 状态,0 停用 1 启用 (Optional) */ Status *string `json:"status"` /* 应用名称 (Optional) */ AppName *string `json:"appName"` }
func NewListSmsAppsUsingGETRequest ¶
func NewListSmsAppsUsingGETRequest() *ListSmsAppsUsingGETRequest
* * @Deprecated, not compatible when mandatory parameters changed
func NewListSmsAppsUsingGETRequestWithAllParams ¶
func NewListSmsAppsUsingGETRequestWithAllParams( pageNumber *int, pageSize *int, status *string, appName *string, ) *ListSmsAppsUsingGETRequest
* param pageNumber: 页码 (Optional) * param pageSize: 分页大小 (Optional) * param status: 状态,0 停用 1 启用 (Optional) * param appName: 应用名称 (Optional)
func NewListSmsAppsUsingGETRequestWithoutParam ¶
func NewListSmsAppsUsingGETRequestWithoutParam() *ListSmsAppsUsingGETRequest
This constructor has better compatible ability when API parameters changed
func (ListSmsAppsUsingGETRequest) GetRegionId ¶
func (r ListSmsAppsUsingGETRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*ListSmsAppsUsingGETRequest) SetAppName ¶
func (r *ListSmsAppsUsingGETRequest) SetAppName(appName string)
param appName: 应用名称(Optional)
func (*ListSmsAppsUsingGETRequest) SetPageNumber ¶
func (r *ListSmsAppsUsingGETRequest) SetPageNumber(pageNumber int)
param pageNumber: 页码(Optional)
func (*ListSmsAppsUsingGETRequest) SetPageSize ¶
func (r *ListSmsAppsUsingGETRequest) SetPageSize(pageSize int)
param pageSize: 分页大小(Optional)
func (*ListSmsAppsUsingGETRequest) SetStatus ¶
func (r *ListSmsAppsUsingGETRequest) SetStatus(status string)
param status: 状态,0 停用 1 启用(Optional)
type ListSmsAppsUsingGETResponse ¶
type ListSmsAppsUsingGETResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result ListSmsAppsUsingGETResult `json:"result"` }
type ListSmsCertificateTypesUsingGETRequest ¶
type ListSmsCertificateTypesUsingGETRequest struct {
core.JDCloudRequest
}
func NewListSmsCertificateTypesUsingGETRequest ¶
func NewListSmsCertificateTypesUsingGETRequest() *ListSmsCertificateTypesUsingGETRequest
* * @Deprecated, not compatible when mandatory parameters changed
func NewListSmsCertificateTypesUsingGETRequestWithAllParams ¶
func NewListSmsCertificateTypesUsingGETRequestWithAllParams() *ListSmsCertificateTypesUsingGETRequest
func NewListSmsCertificateTypesUsingGETRequestWithoutParam ¶
func NewListSmsCertificateTypesUsingGETRequestWithoutParam() *ListSmsCertificateTypesUsingGETRequest
This constructor has better compatible ability when API parameters changed
func (ListSmsCertificateTypesUsingGETRequest) GetRegionId ¶
func (r ListSmsCertificateTypesUsingGETRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
type ListSmsCertificateTypesUsingGETResponse ¶
type ListSmsCertificateTypesUsingGETResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result ListSmsCertificateTypesUsingGETResult `json:"result"` }
type ListSmsCertificateTypesUsingGETResult ¶
type ListSmsCertificateTypesUsingGETResult struct {
CertificateTypes []ydsms.CertificateType `json:"certificateTypes"`
}
type ListSmsPackagesUsingGETRequest ¶
type ListSmsPackagesUsingGETRequest struct { core.JDCloudRequest /* 套餐包类型:1通道短信,2官方短信 (Optional) */ PackageType *int `json:"packageType"` /* pageNumber (Optional) */ PageNumber *int `json:"pageNumber"` /* pageSize (Optional) */ PageSize *int `json:"pageSize"` }
func NewListSmsPackagesUsingGETRequest ¶
func NewListSmsPackagesUsingGETRequest() *ListSmsPackagesUsingGETRequest
* * @Deprecated, not compatible when mandatory parameters changed
func NewListSmsPackagesUsingGETRequestWithAllParams ¶
func NewListSmsPackagesUsingGETRequestWithAllParams( packageType *int, pageNumber *int, pageSize *int, ) *ListSmsPackagesUsingGETRequest
* param packageType: 套餐包类型:1通道短信,2官方短信 (Optional) * param pageNumber: pageNumber (Optional) * param pageSize: pageSize (Optional)
func NewListSmsPackagesUsingGETRequestWithoutParam ¶
func NewListSmsPackagesUsingGETRequestWithoutParam() *ListSmsPackagesUsingGETRequest
This constructor has better compatible ability when API parameters changed
func (ListSmsPackagesUsingGETRequest) GetRegionId ¶
func (r ListSmsPackagesUsingGETRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*ListSmsPackagesUsingGETRequest) SetPackageType ¶
func (r *ListSmsPackagesUsingGETRequest) SetPackageType(packageType int)
param packageType: 套餐包类型:1通道短信,2官方短信(Optional)
func (*ListSmsPackagesUsingGETRequest) SetPageNumber ¶
func (r *ListSmsPackagesUsingGETRequest) SetPageNumber(pageNumber int)
param pageNumber: pageNumber(Optional)
func (*ListSmsPackagesUsingGETRequest) SetPageSize ¶
func (r *ListSmsPackagesUsingGETRequest) SetPageSize(pageSize int)
param pageSize: pageSize(Optional)
type ListSmsPackagesUsingGETResponse ¶
type ListSmsPackagesUsingGETResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result ListSmsPackagesUsingGETResult `json:"result"` }
type ListSmsPackagesUsingGETResult ¶
type ListSmsPackagesUsingGETResult struct { SmsPackages []ydsms.SmsPackageVO `json:"smsPackages"` TotalCount int64 `json:"totalCount"` }
type ListSmsSendOverviewUsingGETRequest ¶
type ListSmsSendOverviewUsingGETRequest struct { core.JDCloudRequest /* 应用id,传all查询所有应用的数据总和 */ AppId string `json:"appId"` /* 套餐包类型,1普通短信 2官方短信,默认为1 (Optional) */ PackageType *int `json:"packageType"` /* 模板id (Optional) */ TemplateId *string `json:"templateId"` /* 结束时间,pattern ="yyyy-MM-dd HH:mm:ss",timezone="GMT+8" */ EndTime string `json:"endTime"` /* 开始时间,pattern ="yyyy-MM-dd HH:mm:ss",timezone="GMT+8" */ StartTime string `json:"startTime"` }
func NewListSmsSendOverviewUsingGETRequest ¶
func NewListSmsSendOverviewUsingGETRequest( appId string, endTime string, startTime string, ) *ListSmsSendOverviewUsingGETRequest
* param appId: 应用id,传all查询所有应用的数据总和 (Required) * param endTime: 结束时间,pattern ="yyyy-MM-dd HH:mm:ss",timezone="GMT+8" (Required) * param startTime: 开始时间,pattern ="yyyy-MM-dd HH:mm:ss",timezone="GMT+8" (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewListSmsSendOverviewUsingGETRequestWithAllParams ¶
func NewListSmsSendOverviewUsingGETRequestWithAllParams( appId string, packageType *int, templateId *string, endTime string, startTime string, ) *ListSmsSendOverviewUsingGETRequest
* param appId: 应用id,传all查询所有应用的数据总和 (Required) * param packageType: 套餐包类型,1普通短信 2官方短信,默认为1 (Optional) * param templateId: 模板id (Optional) * param endTime: 结束时间,pattern ="yyyy-MM-dd HH:mm:ss",timezone="GMT+8" (Required) * param startTime: 开始时间,pattern ="yyyy-MM-dd HH:mm:ss",timezone="GMT+8" (Required)
func NewListSmsSendOverviewUsingGETRequestWithoutParam ¶
func NewListSmsSendOverviewUsingGETRequestWithoutParam() *ListSmsSendOverviewUsingGETRequest
This constructor has better compatible ability when API parameters changed
func (ListSmsSendOverviewUsingGETRequest) GetRegionId ¶
func (r ListSmsSendOverviewUsingGETRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*ListSmsSendOverviewUsingGETRequest) SetAppId ¶
func (r *ListSmsSendOverviewUsingGETRequest) SetAppId(appId string)
param appId: 应用id,传all查询所有应用的数据总和(Required)
func (*ListSmsSendOverviewUsingGETRequest) SetEndTime ¶
func (r *ListSmsSendOverviewUsingGETRequest) SetEndTime(endTime string)
param endTime: 结束时间,pattern ="yyyy-MM-dd HH:mm:ss",timezone="GMT+8"(Required)
func (*ListSmsSendOverviewUsingGETRequest) SetPackageType ¶
func (r *ListSmsSendOverviewUsingGETRequest) SetPackageType(packageType int)
param packageType: 套餐包类型,1普通短信 2官方短信,默认为1(Optional)
func (*ListSmsSendOverviewUsingGETRequest) SetStartTime ¶
func (r *ListSmsSendOverviewUsingGETRequest) SetStartTime(startTime string)
param startTime: 开始时间,pattern ="yyyy-MM-dd HH:mm:ss",timezone="GMT+8"(Required)
func (*ListSmsSendOverviewUsingGETRequest) SetTemplateId ¶
func (r *ListSmsSendOverviewUsingGETRequest) SetTemplateId(templateId string)
param templateId: 模板id(Optional)
type ListSmsSendOverviewUsingGETResponse ¶
type ListSmsSendOverviewUsingGETResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result ListSmsSendOverviewUsingGETResult `json:"result"` }
type ListSmsSendOverviewUsingGETResult ¶
type ListSmsSendOverviewUsingGETResult struct {
ListSmsSendOverviewVO ydsms.ListSmsSendOverviewVO `json:"listSmsSendOverviewVO"`
}
type ListSmsSignTypesUsingGETRequest ¶
type ListSmsSignTypesUsingGETRequest struct {
core.JDCloudRequest
}
func NewListSmsSignTypesUsingGETRequest ¶
func NewListSmsSignTypesUsingGETRequest() *ListSmsSignTypesUsingGETRequest
* * @Deprecated, not compatible when mandatory parameters changed
func NewListSmsSignTypesUsingGETRequestWithAllParams ¶
func NewListSmsSignTypesUsingGETRequestWithAllParams() *ListSmsSignTypesUsingGETRequest
func NewListSmsSignTypesUsingGETRequestWithoutParam ¶
func NewListSmsSignTypesUsingGETRequestWithoutParam() *ListSmsSignTypesUsingGETRequest
This constructor has better compatible ability when API parameters changed
func (ListSmsSignTypesUsingGETRequest) GetRegionId ¶
func (r ListSmsSignTypesUsingGETRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
type ListSmsSignTypesUsingGETResponse ¶
type ListSmsSignTypesUsingGETResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result ListSmsSignTypesUsingGETResult `json:"result"` }
type ListSmsSignsUsingGETRequest ¶
type ListSmsSignsUsingGETRequest struct { core.JDCloudRequest /* 应用id */ AppId string `json:"appId"` /* 页码 (Optional) */ PageNumber *int `json:"pageNumber"` /* 分页大小 (Optional) */ PageSize *int `json:"pageSize"` /* 状态,1申请中 2拒绝 3通过 (Optional) */ Status *string `json:"status"` }
func NewListSmsSignsUsingGETRequest ¶
func NewListSmsSignsUsingGETRequest( appId string, ) *ListSmsSignsUsingGETRequest
* param appId: 应用id (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewListSmsSignsUsingGETRequestWithAllParams ¶
func NewListSmsSignsUsingGETRequestWithAllParams( appId string, pageNumber *int, pageSize *int, status *string, ) *ListSmsSignsUsingGETRequest
* param appId: 应用id (Required) * param pageNumber: 页码 (Optional) * param pageSize: 分页大小 (Optional) * param status: 状态,1申请中 2拒绝 3通过 (Optional)
func NewListSmsSignsUsingGETRequestWithoutParam ¶
func NewListSmsSignsUsingGETRequestWithoutParam() *ListSmsSignsUsingGETRequest
This constructor has better compatible ability when API parameters changed
func (ListSmsSignsUsingGETRequest) GetRegionId ¶
func (r ListSmsSignsUsingGETRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*ListSmsSignsUsingGETRequest) SetAppId ¶
func (r *ListSmsSignsUsingGETRequest) SetAppId(appId string)
param appId: 应用id(Required)
func (*ListSmsSignsUsingGETRequest) SetPageNumber ¶
func (r *ListSmsSignsUsingGETRequest) SetPageNumber(pageNumber int)
param pageNumber: 页码(Optional)
func (*ListSmsSignsUsingGETRequest) SetPageSize ¶
func (r *ListSmsSignsUsingGETRequest) SetPageSize(pageSize int)
param pageSize: 分页大小(Optional)
func (*ListSmsSignsUsingGETRequest) SetStatus ¶
func (r *ListSmsSignsUsingGETRequest) SetStatus(status string)
param status: 状态,1申请中 2拒绝 3通过(Optional)
type ListSmsSignsUsingGETResponse ¶
type ListSmsSignsUsingGETResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result ListSmsSignsUsingGETResult `json:"result"` }
type ListSmsTasksUsingGETRequest ¶
type ListSmsTasksUsingGETRequest struct { core.JDCloudRequest /* 应用id */ AppId string `json:"appId"` /* 页码 (Optional) */ PageNumber *int `json:"pageNumber"` /* 分页大小 (Optional) */ PageSize *int `json:"pageSize"` /* 状态,1申请中 2拒绝 3通过 (Optional) */ Status *int `json:"status"` }
func NewListSmsTasksUsingGETRequest ¶
func NewListSmsTasksUsingGETRequest( appId string, ) *ListSmsTasksUsingGETRequest
* param appId: 应用id (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewListSmsTasksUsingGETRequestWithAllParams ¶
func NewListSmsTasksUsingGETRequestWithAllParams( appId string, pageNumber *int, pageSize *int, status *int, ) *ListSmsTasksUsingGETRequest
* param appId: 应用id (Required) * param pageNumber: 页码 (Optional) * param pageSize: 分页大小 (Optional) * param status: 状态,1申请中 2拒绝 3通过 (Optional)
func NewListSmsTasksUsingGETRequestWithoutParam ¶
func NewListSmsTasksUsingGETRequestWithoutParam() *ListSmsTasksUsingGETRequest
This constructor has better compatible ability when API parameters changed
func (ListSmsTasksUsingGETRequest) GetRegionId ¶
func (r ListSmsTasksUsingGETRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*ListSmsTasksUsingGETRequest) SetAppId ¶
func (r *ListSmsTasksUsingGETRequest) SetAppId(appId string)
param appId: 应用id(Required)
func (*ListSmsTasksUsingGETRequest) SetPageNumber ¶
func (r *ListSmsTasksUsingGETRequest) SetPageNumber(pageNumber int)
param pageNumber: 页码(Optional)
func (*ListSmsTasksUsingGETRequest) SetPageSize ¶
func (r *ListSmsTasksUsingGETRequest) SetPageSize(pageSize int)
param pageSize: 分页大小(Optional)
func (*ListSmsTasksUsingGETRequest) SetStatus ¶
func (r *ListSmsTasksUsingGETRequest) SetStatus(status int)
param status: 状态,1申请中 2拒绝 3通过(Optional)
type ListSmsTasksUsingGETResponse ¶
type ListSmsTasksUsingGETResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result ListSmsTasksUsingGETResult `json:"result"` }
type ListSmsTemplatesUsingGETRequest ¶
type ListSmsTemplatesUsingGETRequest struct { core.JDCloudRequest /* 应用id */ AppId string `json:"appId"` /* 页码 (Optional) */ PageNumber *int `json:"pageNumber"` /* 分页大小 (Optional) */ PageSize *int `json:"pageSize"` /* 状态,1申请中 2拒绝 3通过 (Optional) */ Status *string `json:"status"` }
func NewListSmsTemplatesUsingGETRequest ¶
func NewListSmsTemplatesUsingGETRequest( appId string, ) *ListSmsTemplatesUsingGETRequest
* param appId: 应用id (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewListSmsTemplatesUsingGETRequestWithAllParams ¶
func NewListSmsTemplatesUsingGETRequestWithAllParams( appId string, pageNumber *int, pageSize *int, status *string, ) *ListSmsTemplatesUsingGETRequest
* param appId: 应用id (Required) * param pageNumber: 页码 (Optional) * param pageSize: 分页大小 (Optional) * param status: 状态,1申请中 2拒绝 3通过 (Optional)
func NewListSmsTemplatesUsingGETRequestWithoutParam ¶
func NewListSmsTemplatesUsingGETRequestWithoutParam() *ListSmsTemplatesUsingGETRequest
This constructor has better compatible ability when API parameters changed
func (ListSmsTemplatesUsingGETRequest) GetRegionId ¶
func (r ListSmsTemplatesUsingGETRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*ListSmsTemplatesUsingGETRequest) SetAppId ¶
func (r *ListSmsTemplatesUsingGETRequest) SetAppId(appId string)
param appId: 应用id(Required)
func (*ListSmsTemplatesUsingGETRequest) SetPageNumber ¶
func (r *ListSmsTemplatesUsingGETRequest) SetPageNumber(pageNumber int)
param pageNumber: 页码(Optional)
func (*ListSmsTemplatesUsingGETRequest) SetPageSize ¶
func (r *ListSmsTemplatesUsingGETRequest) SetPageSize(pageSize int)
param pageSize: 分页大小(Optional)
func (*ListSmsTemplatesUsingGETRequest) SetStatus ¶
func (r *ListSmsTemplatesUsingGETRequest) SetStatus(status string)
param status: 状态,1申请中 2拒绝 3通过(Optional)
type ListSmsTemplatesUsingGETResponse ¶
type ListSmsTemplatesUsingGETResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result ListSmsTemplatesUsingGETResult `json:"result"` }
type ListSmsTemplatesUsingGETResult ¶
type ListSmsTemplatesUsingGETResult struct { SmsTemplates []ydsms.SmsTemplateVO `json:"smsTemplates"` TotalCount int64 `json:"totalCount"` }
type ModifyAppGeneralSettingByIdRequest ¶
type ModifyAppGeneralSettingByIdRequest struct { core.JDCloudRequest /* id (Optional) */ Id *int `json:"id"` /* 设置的值 (Optional) */ SettingValue *string `json:"settingValue"` /* 是否启用,当前设置是否生效,0未生效 1生效 (Optional) */ Status *int `json:"status"` }
func NewModifyAppGeneralSettingByIdRequest ¶
func NewModifyAppGeneralSettingByIdRequest() *ModifyAppGeneralSettingByIdRequest
* * @Deprecated, not compatible when mandatory parameters changed
func NewModifyAppGeneralSettingByIdRequestWithAllParams ¶
func NewModifyAppGeneralSettingByIdRequestWithAllParams( id *int, settingValue *string, status *int, ) *ModifyAppGeneralSettingByIdRequest
* param id: id (Optional) * param settingValue: 设置的值 (Optional) * param status: 是否启用,当前设置是否生效,0未生效 1生效 (Optional)
func NewModifyAppGeneralSettingByIdRequestWithoutParam ¶
func NewModifyAppGeneralSettingByIdRequestWithoutParam() *ModifyAppGeneralSettingByIdRequest
This constructor has better compatible ability when API parameters changed
func (ModifyAppGeneralSettingByIdRequest) GetRegionId ¶
func (r ModifyAppGeneralSettingByIdRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*ModifyAppGeneralSettingByIdRequest) SetId ¶
func (r *ModifyAppGeneralSettingByIdRequest) SetId(id int)
param id: id(Optional)
func (*ModifyAppGeneralSettingByIdRequest) SetSettingValue ¶
func (r *ModifyAppGeneralSettingByIdRequest) SetSettingValue(settingValue string)
param settingValue: 设置的值(Optional)
func (*ModifyAppGeneralSettingByIdRequest) SetStatus ¶
func (r *ModifyAppGeneralSettingByIdRequest) SetStatus(status int)
param status: 是否启用,当前设置是否生效,0未生效 1生效(Optional)
type ModifyAppGeneralSettingByIdResponse ¶
type ModifyAppGeneralSettingByIdResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result ModifyAppGeneralSettingByIdResult `json:"result"` }
type ModifyAppGeneralSettingByIdResult ¶
type ModifyAppGeneralSettingByIdResult struct {
Success bool `json:"success"`
}
type ModifySmsAppUsingPOSTRequest ¶
type ModifySmsAppUsingPOSTRequest struct { core.JDCloudRequest /* appId */ AppId string `json:"appId"` /* 应用描述 (Optional) */ AppDesc *string `json:"appDesc"` /* 应用名称 (Optional) */ AppName *string `json:"appName"` }
func NewModifySmsAppUsingPOSTRequest ¶
func NewModifySmsAppUsingPOSTRequest( appId string, ) *ModifySmsAppUsingPOSTRequest
* param appId: appId (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewModifySmsAppUsingPOSTRequestWithAllParams ¶
func NewModifySmsAppUsingPOSTRequestWithAllParams( appId string, appDesc *string, appName *string, ) *ModifySmsAppUsingPOSTRequest
* param appId: appId (Required) * param appDesc: 应用描述 (Optional) * param appName: 应用名称 (Optional)
func NewModifySmsAppUsingPOSTRequestWithoutParam ¶
func NewModifySmsAppUsingPOSTRequestWithoutParam() *ModifySmsAppUsingPOSTRequest
This constructor has better compatible ability when API parameters changed
func (ModifySmsAppUsingPOSTRequest) GetRegionId ¶
func (r ModifySmsAppUsingPOSTRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*ModifySmsAppUsingPOSTRequest) SetAppDesc ¶
func (r *ModifySmsAppUsingPOSTRequest) SetAppDesc(appDesc string)
param appDesc: 应用描述(Optional)
func (*ModifySmsAppUsingPOSTRequest) SetAppId ¶
func (r *ModifySmsAppUsingPOSTRequest) SetAppId(appId string)
param appId: appId(Required)
func (*ModifySmsAppUsingPOSTRequest) SetAppName ¶
func (r *ModifySmsAppUsingPOSTRequest) SetAppName(appName string)
param appName: 应用名称(Optional)
type ModifySmsAppUsingPOSTResponse ¶
type ModifySmsAppUsingPOSTResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result ModifySmsAppUsingPOSTResult `json:"result"` }
type ModifySmsAppUsingPOSTResult ¶
type ModifySmsAppUsingPOSTResult struct {
AppId string `json:"appId"`
}
type ModifySmsSignUsingPOSTRequest ¶
type ModifySmsSignUsingPOSTRequest struct { core.JDCloudRequest /* 签名id */ SignId string `json:"signId"` /* 应用id */ AppId string `json:"appId"` /* 申请说明 (Optional) */ ApplyExplanation *string `json:"applyExplanation"` /* 授权委托下载地址,若短信签名用途为他用,涉及第三方权益需上传,上传至 oss (Optional) */ SignAttorneyUrl *string `json:"signAttorneyUrl"` /* 证明材料下载地址,上传至 oss */ SignCertificateUrl string `json:"signCertificateUrl"` /* 若签名内容侵犯到第三方权益必须获得第三方真实授权,长度为 2~12 个字符无须添加【】、()、[] 符号,签名发送会自带【】符号,避免重复 */ SignContent string `json:"signContent"` /* 其他证明材料下载地址 上传至 oss (Optional) */ SignOtherCertificateUrl *string `json:"signOtherCertificateUrl"` /* 签名用途,0自用 1他用 */ SignPurpose int `json:"signPurpose"` /* 签名类型id,调用listSmsSignTypesUsingGET 接口获取 */ SignTypeId int `json:"signTypeId"` }
func NewModifySmsSignUsingPOSTRequest ¶
func NewModifySmsSignUsingPOSTRequest( signId string, appId string, signCertificateUrl string, signContent string, signPurpose int, signTypeId int, ) *ModifySmsSignUsingPOSTRequest
* param signId: 签名id (Required) * param appId: 应用id (Required) * param signCertificateUrl: 证明材料下载地址,上传至 oss (Required) * param signContent: 若签名内容侵犯到第三方权益必须获得第三方真实授权,长度为 2~12 个字符无须添加【】、()、[] 符号,签名发送会自带【】符号,避免重复 (Required) * param signPurpose: 签名用途,0自用 1他用 (Required) * param signTypeId: 签名类型id,调用listSmsSignTypesUsingGET 接口获取 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewModifySmsSignUsingPOSTRequestWithAllParams ¶
func NewModifySmsSignUsingPOSTRequestWithAllParams( signId string, appId string, applyExplanation *string, signAttorneyUrl *string, signCertificateUrl string, signContent string, signOtherCertificateUrl *string, signPurpose int, signTypeId int, ) *ModifySmsSignUsingPOSTRequest
* param signId: 签名id (Required) * param appId: 应用id (Required) * param applyExplanation: 申请说明 (Optional) * param signAttorneyUrl: 授权委托下载地址,若短信签名用途为他用,涉及第三方权益需上传,上传至 oss (Optional) * param signCertificateUrl: 证明材料下载地址,上传至 oss (Required) * param signContent: 若签名内容侵犯到第三方权益必须获得第三方真实授权,长度为 2~12 个字符无须添加【】、()、[] 符号,签名发送会自带【】符号,避免重复 (Required) * param signOtherCertificateUrl: 其他证明材料下载地址 上传至 oss (Optional) * param signPurpose: 签名用途,0自用 1他用 (Required) * param signTypeId: 签名类型id,调用listSmsSignTypesUsingGET 接口获取 (Required)
func NewModifySmsSignUsingPOSTRequestWithoutParam ¶
func NewModifySmsSignUsingPOSTRequestWithoutParam() *ModifySmsSignUsingPOSTRequest
This constructor has better compatible ability when API parameters changed
func (ModifySmsSignUsingPOSTRequest) GetRegionId ¶
func (r ModifySmsSignUsingPOSTRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*ModifySmsSignUsingPOSTRequest) SetAppId ¶
func (r *ModifySmsSignUsingPOSTRequest) SetAppId(appId string)
param appId: 应用id(Required)
func (*ModifySmsSignUsingPOSTRequest) SetApplyExplanation ¶
func (r *ModifySmsSignUsingPOSTRequest) SetApplyExplanation(applyExplanation string)
param applyExplanation: 申请说明(Optional)
func (*ModifySmsSignUsingPOSTRequest) SetSignAttorneyUrl ¶
func (r *ModifySmsSignUsingPOSTRequest) SetSignAttorneyUrl(signAttorneyUrl string)
param signAttorneyUrl: 授权委托下载地址,若短信签名用途为他用,涉及第三方权益需上传,上传至 oss(Optional)
func (*ModifySmsSignUsingPOSTRequest) SetSignCertificateUrl ¶
func (r *ModifySmsSignUsingPOSTRequest) SetSignCertificateUrl(signCertificateUrl string)
param signCertificateUrl: 证明材料下载地址,上传至 oss(Required)
func (*ModifySmsSignUsingPOSTRequest) SetSignContent ¶
func (r *ModifySmsSignUsingPOSTRequest) SetSignContent(signContent string)
param signContent: 若签名内容侵犯到第三方权益必须获得第三方真实授权,长度为 2~12 个字符无须添加【】、()、[] 符号,签名发送会自带【】符号,避免重复(Required)
func (*ModifySmsSignUsingPOSTRequest) SetSignId ¶
func (r *ModifySmsSignUsingPOSTRequest) SetSignId(signId string)
param signId: 签名id(Required)
func (*ModifySmsSignUsingPOSTRequest) SetSignOtherCertificateUrl ¶
func (r *ModifySmsSignUsingPOSTRequest) SetSignOtherCertificateUrl(signOtherCertificateUrl string)
param signOtherCertificateUrl: 其他证明材料下载地址 上传至 oss(Optional)
func (*ModifySmsSignUsingPOSTRequest) SetSignPurpose ¶
func (r *ModifySmsSignUsingPOSTRequest) SetSignPurpose(signPurpose int)
param signPurpose: 签名用途,0自用 1他用(Required)
func (*ModifySmsSignUsingPOSTRequest) SetSignTypeId ¶
func (r *ModifySmsSignUsingPOSTRequest) SetSignTypeId(signTypeId int)
param signTypeId: 签名类型id,调用listSmsSignTypesUsingGET 接口获取(Required)
type ModifySmsSignUsingPOSTResponse ¶
type ModifySmsSignUsingPOSTResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result ModifySmsSignUsingPOSTResult `json:"result"` }
type ModifySmsSignUsingPOSTResult ¶
type ModifySmsSignUsingPOSTResult struct {
SignId string `json:"signId"`
}
type ModifySmsTemplateUsingPOSTRequest ¶
type ModifySmsTemplateUsingPOSTRequest struct { core.JDCloudRequest /* 模板id */ TemplateId string `json:"templateId"` /* 应用id */ AppId string `json:"appId"` /* 申请说明 (Optional) */ ApplyExplanation *string `json:"applyExplanation"` /* 模板内容 */ TemplateContent string `json:"templateContent"` /* 模板名称 */ TemplateName string `json:"templateName"` /* 模板类型:0 验证码短信,1 通知短信,2 推广短信 */ TemplateType int `json:"templateType"` }
func NewModifySmsTemplateUsingPOSTRequest ¶
func NewModifySmsTemplateUsingPOSTRequest( templateId string, appId string, templateContent string, templateName string, templateType int, ) *ModifySmsTemplateUsingPOSTRequest
* param templateId: 模板id (Required) * param appId: 应用id (Required) * param templateContent: 模板内容 (Required) * param templateName: 模板名称 (Required) * param templateType: 模板类型:0 验证码短信,1 通知短信,2 推广短信 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewModifySmsTemplateUsingPOSTRequestWithAllParams ¶
func NewModifySmsTemplateUsingPOSTRequestWithAllParams( templateId string, appId string, applyExplanation *string, templateContent string, templateName string, templateType int, ) *ModifySmsTemplateUsingPOSTRequest
* param templateId: 模板id (Required) * param appId: 应用id (Required) * param applyExplanation: 申请说明 (Optional) * param templateContent: 模板内容 (Required) * param templateName: 模板名称 (Required) * param templateType: 模板类型:0 验证码短信,1 通知短信,2 推广短信 (Required)
func NewModifySmsTemplateUsingPOSTRequestWithoutParam ¶
func NewModifySmsTemplateUsingPOSTRequestWithoutParam() *ModifySmsTemplateUsingPOSTRequest
This constructor has better compatible ability when API parameters changed
func (ModifySmsTemplateUsingPOSTRequest) GetRegionId ¶
func (r ModifySmsTemplateUsingPOSTRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*ModifySmsTemplateUsingPOSTRequest) SetAppId ¶
func (r *ModifySmsTemplateUsingPOSTRequest) SetAppId(appId string)
param appId: 应用id(Required)
func (*ModifySmsTemplateUsingPOSTRequest) SetApplyExplanation ¶
func (r *ModifySmsTemplateUsingPOSTRequest) SetApplyExplanation(applyExplanation string)
param applyExplanation: 申请说明(Optional)
func (*ModifySmsTemplateUsingPOSTRequest) SetTemplateContent ¶
func (r *ModifySmsTemplateUsingPOSTRequest) SetTemplateContent(templateContent string)
param templateContent: 模板内容(Required)
func (*ModifySmsTemplateUsingPOSTRequest) SetTemplateId ¶
func (r *ModifySmsTemplateUsingPOSTRequest) SetTemplateId(templateId string)
param templateId: 模板id(Required)
func (*ModifySmsTemplateUsingPOSTRequest) SetTemplateName ¶
func (r *ModifySmsTemplateUsingPOSTRequest) SetTemplateName(templateName string)
param templateName: 模板名称(Required)
func (*ModifySmsTemplateUsingPOSTRequest) SetTemplateType ¶
func (r *ModifySmsTemplateUsingPOSTRequest) SetTemplateType(templateType int)
param templateType: 模板类型:0 验证码短信,1 通知短信,2 推广短信(Required)
type ModifySmsTemplateUsingPOSTResponse ¶
type ModifySmsTemplateUsingPOSTResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result ModifySmsTemplateUsingPOSTResult `json:"result"` }
type ModifySmsTemplateUsingPOSTResult ¶
type ModifySmsTemplateUsingPOSTResult struct {
TemplateId string `json:"templateId"`
}
type ModifyStatusUsingPOSTRequest ¶
type ModifyStatusUsingPOSTRequest struct { core.JDCloudRequest /* 应用id */ AppId string `json:"appId"` /* 应用状态,0 停用 1 启用 (Optional) */ Status *int `json:"status"` }
func NewModifyStatusUsingPOSTRequest ¶
func NewModifyStatusUsingPOSTRequest( appId string, ) *ModifyStatusUsingPOSTRequest
* param appId: 应用id (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewModifyStatusUsingPOSTRequestWithAllParams ¶
func NewModifyStatusUsingPOSTRequestWithAllParams( appId string, status *int, ) *ModifyStatusUsingPOSTRequest
* param appId: 应用id (Required) * param status: 应用状态,0 停用 1 启用 (Optional)
func NewModifyStatusUsingPOSTRequestWithoutParam ¶
func NewModifyStatusUsingPOSTRequestWithoutParam() *ModifyStatusUsingPOSTRequest
This constructor has better compatible ability when API parameters changed
func (ModifyStatusUsingPOSTRequest) GetRegionId ¶
func (r ModifyStatusUsingPOSTRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*ModifyStatusUsingPOSTRequest) SetAppId ¶
func (r *ModifyStatusUsingPOSTRequest) SetAppId(appId string)
param appId: 应用id(Required)
func (*ModifyStatusUsingPOSTRequest) SetStatus ¶
func (r *ModifyStatusUsingPOSTRequest) SetStatus(status int)
param status: 应用状态,0 停用 1 启用(Optional)
type ModifyStatusUsingPOSTResponse ¶
type ModifyStatusUsingPOSTResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result ModifyStatusUsingPOSTResult `json:"result"` }
type ModifyStatusUsingPOSTResult ¶
type ModifyStatusUsingPOSTResult struct {
AppId string `json:"appId"`
}
type OpenServiceUsingPOSTRequest ¶
type OpenServiceUsingPOSTRequest struct {
core.JDCloudRequest
}
func NewOpenServiceUsingPOSTRequest ¶
func NewOpenServiceUsingPOSTRequest() *OpenServiceUsingPOSTRequest
* * @Deprecated, not compatible when mandatory parameters changed
func NewOpenServiceUsingPOSTRequestWithAllParams ¶
func NewOpenServiceUsingPOSTRequestWithAllParams() *OpenServiceUsingPOSTRequest
func NewOpenServiceUsingPOSTRequestWithoutParam ¶
func NewOpenServiceUsingPOSTRequestWithoutParam() *OpenServiceUsingPOSTRequest
This constructor has better compatible ability when API parameters changed
func (OpenServiceUsingPOSTRequest) GetRegionId ¶
func (r OpenServiceUsingPOSTRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
type OpenServiceUsingPOSTResponse ¶
type OpenServiceUsingPOSTResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result OpenServiceUsingPOSTResult `json:"result"` }
type OpenServiceUsingPOSTResult ¶
type OpenServiceUsingPOSTResult struct {
Success bool `json:"success"`
}
type QueryAmountUsingGETRequest ¶
type QueryAmountUsingGETRequest struct { core.JDCloudRequest /* 通道类型,1通道短信,2官方短信 */ PackageType int `json:"packageType"` }
func NewQueryAmountUsingGETRequest ¶
func NewQueryAmountUsingGETRequest( packageType int, ) *QueryAmountUsingGETRequest
* param packageType: 通道类型,1通道短信,2官方短信 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewQueryAmountUsingGETRequestWithAllParams ¶
func NewQueryAmountUsingGETRequestWithAllParams( packageType int, ) *QueryAmountUsingGETRequest
* param packageType: 通道类型,1通道短信,2官方短信 (Required)
func NewQueryAmountUsingGETRequestWithoutParam ¶
func NewQueryAmountUsingGETRequestWithoutParam() *QueryAmountUsingGETRequest
This constructor has better compatible ability when API parameters changed
func (QueryAmountUsingGETRequest) GetRegionId ¶
func (r QueryAmountUsingGETRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*QueryAmountUsingGETRequest) SetPackageType ¶
func (r *QueryAmountUsingGETRequest) SetPackageType(packageType int)
param packageType: 通道类型,1通道短信,2官方短信(Required)
type QueryAmountUsingGETResponse ¶
type QueryAmountUsingGETResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result QueryAmountUsingGETResult `json:"result"` }
type QueryReceiptRecordUsingGETRequest ¶
type QueryReceiptRecordUsingGETRequest struct { core.JDCloudRequest /* 应用id */ AppId string `json:"appId"` /* 结束时间,pattern ="yyyy-MM-dd HH:mm:ss",timezone="GMT+8" */ EndTime string `json:"endTime"` /* 开始时间,pattern ="yyyy-MM-dd HH:mm:ss",timezone="GMT+8" */ StartTime string `json:"startTime"` }
func NewQueryReceiptRecordUsingGETRequest ¶
func NewQueryReceiptRecordUsingGETRequest( appId string, endTime string, startTime string, ) *QueryReceiptRecordUsingGETRequest
* param appId: 应用id (Required) * param endTime: 结束时间,pattern ="yyyy-MM-dd HH:mm:ss",timezone="GMT+8" (Required) * param startTime: 开始时间,pattern ="yyyy-MM-dd HH:mm:ss",timezone="GMT+8" (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewQueryReceiptRecordUsingGETRequestWithAllParams ¶
func NewQueryReceiptRecordUsingGETRequestWithAllParams( appId string, endTime string, startTime string, ) *QueryReceiptRecordUsingGETRequest
* param appId: 应用id (Required) * param endTime: 结束时间,pattern ="yyyy-MM-dd HH:mm:ss",timezone="GMT+8" (Required) * param startTime: 开始时间,pattern ="yyyy-MM-dd HH:mm:ss",timezone="GMT+8" (Required)
func NewQueryReceiptRecordUsingGETRequestWithoutParam ¶
func NewQueryReceiptRecordUsingGETRequestWithoutParam() *QueryReceiptRecordUsingGETRequest
This constructor has better compatible ability when API parameters changed
func (QueryReceiptRecordUsingGETRequest) GetRegionId ¶
func (r QueryReceiptRecordUsingGETRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*QueryReceiptRecordUsingGETRequest) SetAppId ¶
func (r *QueryReceiptRecordUsingGETRequest) SetAppId(appId string)
param appId: 应用id(Required)
func (*QueryReceiptRecordUsingGETRequest) SetEndTime ¶
func (r *QueryReceiptRecordUsingGETRequest) SetEndTime(endTime string)
param endTime: 结束时间,pattern ="yyyy-MM-dd HH:mm:ss",timezone="GMT+8"(Required)
func (*QueryReceiptRecordUsingGETRequest) SetStartTime ¶
func (r *QueryReceiptRecordUsingGETRequest) SetStartTime(startTime string)
param startTime: 开始时间,pattern ="yyyy-MM-dd HH:mm:ss",timezone="GMT+8"(Required)
type QueryReceiptRecordUsingGETResponse ¶
type QueryReceiptRecordUsingGETResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result QueryReceiptRecordUsingGETResult `json:"result"` }
type QueryReceiptRecordUsingGETResult ¶
type QueryReceiptRecordUsingGETResult struct {
QueryReceiptRecordRes ydsms.QueryReceiptRecordRes `json:"queryReceiptRecordRes"`
}
type QueryRemainingUsingGETRequest ¶
type QueryRemainingUsingGETRequest struct { core.JDCloudRequest /* 通道类型,1通道短信,2官方短信 */ PackageType int `json:"packageType"` }
func NewQueryRemainingUsingGETRequest ¶
func NewQueryRemainingUsingGETRequest( packageType int, ) *QueryRemainingUsingGETRequest
* param packageType: 通道类型,1通道短信,2官方短信 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewQueryRemainingUsingGETRequestWithAllParams ¶
func NewQueryRemainingUsingGETRequestWithAllParams( packageType int, ) *QueryRemainingUsingGETRequest
* param packageType: 通道类型,1通道短信,2官方短信 (Required)
func NewQueryRemainingUsingGETRequestWithoutParam ¶
func NewQueryRemainingUsingGETRequestWithoutParam() *QueryRemainingUsingGETRequest
This constructor has better compatible ability when API parameters changed
func (QueryRemainingUsingGETRequest) GetRegionId ¶
func (r QueryRemainingUsingGETRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*QueryRemainingUsingGETRequest) SetPackageType ¶
func (r *QueryRemainingUsingGETRequest) SetPackageType(packageType int)
param packageType: 通道类型,1通道短信,2官方短信(Required)
type QueryRemainingUsingGETResponse ¶
type QueryRemainingUsingGETResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result QueryRemainingUsingGETResult `json:"result"` }
type QueryReplyRecordUsingGETRequest ¶
type QueryReplyRecordUsingGETRequest struct { core.JDCloudRequest /* 应用id */ AppId string `json:"appId"` /* 手机号码 (Optional) */ SendNumber *string `json:"sendNumber"` /* 页码 (Optional) */ PageNumber *int `json:"pageNumber"` /* 分页大小 (Optional) */ PageSize *int `json:"pageSize"` /* 结束时间,pattern ="yyyy-MM-dd HH:mm:ss",timezone="GMT+8" */ EndTime string `json:"endTime"` /* 开始时间,pattern ="yyyy-MM-dd HH:mm:ss",timezone="GMT+8" */ StartTime string `json:"startTime"` }
func NewQueryReplyRecordUsingGETRequest ¶
func NewQueryReplyRecordUsingGETRequest( appId string, endTime string, startTime string, ) *QueryReplyRecordUsingGETRequest
* param appId: 应用id (Required) * param endTime: 结束时间,pattern ="yyyy-MM-dd HH:mm:ss",timezone="GMT+8" (Required) * param startTime: 开始时间,pattern ="yyyy-MM-dd HH:mm:ss",timezone="GMT+8" (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewQueryReplyRecordUsingGETRequestWithAllParams ¶
func NewQueryReplyRecordUsingGETRequestWithAllParams( appId string, sendNumber *string, pageNumber *int, pageSize *int, endTime string, startTime string, ) *QueryReplyRecordUsingGETRequest
* param appId: 应用id (Required) * param sendNumber: 手机号码 (Optional) * param pageNumber: 页码 (Optional) * param pageSize: 分页大小 (Optional) * param endTime: 结束时间,pattern ="yyyy-MM-dd HH:mm:ss",timezone="GMT+8" (Required) * param startTime: 开始时间,pattern ="yyyy-MM-dd HH:mm:ss",timezone="GMT+8" (Required)
func NewQueryReplyRecordUsingGETRequestWithoutParam ¶
func NewQueryReplyRecordUsingGETRequestWithoutParam() *QueryReplyRecordUsingGETRequest
This constructor has better compatible ability when API parameters changed
func (QueryReplyRecordUsingGETRequest) GetRegionId ¶
func (r QueryReplyRecordUsingGETRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*QueryReplyRecordUsingGETRequest) SetAppId ¶
func (r *QueryReplyRecordUsingGETRequest) SetAppId(appId string)
param appId: 应用id(Required)
func (*QueryReplyRecordUsingGETRequest) SetEndTime ¶
func (r *QueryReplyRecordUsingGETRequest) SetEndTime(endTime string)
param endTime: 结束时间,pattern ="yyyy-MM-dd HH:mm:ss",timezone="GMT+8"(Required)
func (*QueryReplyRecordUsingGETRequest) SetPageNumber ¶
func (r *QueryReplyRecordUsingGETRequest) SetPageNumber(pageNumber int)
param pageNumber: 页码(Optional)
func (*QueryReplyRecordUsingGETRequest) SetPageSize ¶
func (r *QueryReplyRecordUsingGETRequest) SetPageSize(pageSize int)
param pageSize: 分页大小(Optional)
func (*QueryReplyRecordUsingGETRequest) SetSendNumber ¶
func (r *QueryReplyRecordUsingGETRequest) SetSendNumber(sendNumber string)
param sendNumber: 手机号码(Optional)
func (*QueryReplyRecordUsingGETRequest) SetStartTime ¶
func (r *QueryReplyRecordUsingGETRequest) SetStartTime(startTime string)
param startTime: 开始时间,pattern ="yyyy-MM-dd HH:mm:ss",timezone="GMT+8"(Required)
type QueryReplyRecordUsingGETResponse ¶
type QueryReplyRecordUsingGETResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result QueryReplyRecordUsingGETResult `json:"result"` }
type QueryReplyRecordUsingGETResult ¶
type QueryReplyRecordUsingGETResult struct { SmsApps []ydsms.ReplyRecord `json:"smsApps"` TotalCount int64 `json:"totalCount"` }
type QuerySecretKeyUsingGETRequest ¶
type QuerySecretKeyUsingGETRequest struct { core.JDCloudRequest /* 应用id */ AppId string `json:"appId"` }
func NewQuerySecretKeyUsingGETRequest ¶
func NewQuerySecretKeyUsingGETRequest( appId string, ) *QuerySecretKeyUsingGETRequest
* param appId: 应用id (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewQuerySecretKeyUsingGETRequestWithAllParams ¶
func NewQuerySecretKeyUsingGETRequestWithAllParams( appId string, ) *QuerySecretKeyUsingGETRequest
* param appId: 应用id (Required)
func NewQuerySecretKeyUsingGETRequestWithoutParam ¶
func NewQuerySecretKeyUsingGETRequestWithoutParam() *QuerySecretKeyUsingGETRequest
This constructor has better compatible ability when API parameters changed
func (QuerySecretKeyUsingGETRequest) GetRegionId ¶
func (r QuerySecretKeyUsingGETRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*QuerySecretKeyUsingGETRequest) SetAppId ¶
func (r *QuerySecretKeyUsingGETRequest) SetAppId(appId string)
param appId: 应用id(Required)
type QuerySecretKeyUsingGETResponse ¶
type QuerySecretKeyUsingGETResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result QuerySecretKeyUsingGETResult `json:"result"` }
type QuerySecretKeyUsingGETResult ¶
type QuerySecretKeyUsingGETResult struct {
SecretKey string `json:"secretKey"`
}
type QuerySendRecordUsingGETRequest ¶
type QuerySendRecordUsingGETRequest struct { core.JDCloudRequest /* 应用id */ AppId string `json:"appId"` /* 发送状态,0 全部状态 1 发送成功 2 发送失败 3 已发送未回执, 默认为0 (Optional) */ SendStatus *int `json:"sendStatus"` /* 手机号码 (Optional) */ SendNumber *string `json:"sendNumber"` /* 模板id (Optional) */ TemplateId *string `json:"templateId"` /* 签名id (Optional) */ Sign_id *string `json:"sign_id"` /* 页码 (Optional) */ PageNumber *int `json:"pageNumber"` /* 分页大小 (Optional) */ PageSize *int `json:"pageSize"` /* 结束时间,pattern ="yyyy-MM-dd HH:mm:ss",timezone="GMT+8" */ EndTime string `json:"endTime"` /* 开始时间,pattern ="yyyy-MM-dd HH:mm:ss",timezone="GMT+8" */ StartTime string `json:"startTime"` }
func NewQuerySendRecordUsingGETRequest ¶
func NewQuerySendRecordUsingGETRequest( appId string, endTime string, startTime string, ) *QuerySendRecordUsingGETRequest
* param appId: 应用id (Required) * param endTime: 结束时间,pattern ="yyyy-MM-dd HH:mm:ss",timezone="GMT+8" (Required) * param startTime: 开始时间,pattern ="yyyy-MM-dd HH:mm:ss",timezone="GMT+8" (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewQuerySendRecordUsingGETRequestWithAllParams ¶
func NewQuerySendRecordUsingGETRequestWithAllParams( appId string, sendStatus *int, sendNumber *string, templateId *string, sign_id *string, pageNumber *int, pageSize *int, endTime string, startTime string, ) *QuerySendRecordUsingGETRequest
* param appId: 应用id (Required) * param sendStatus: 发送状态,0 全部状态 1 发送成功 2 发送失败 3 已发送未回执, 默认为0 (Optional) * param sendNumber: 手机号码 (Optional) * param templateId: 模板id (Optional) * param sign_id: 签名id (Optional) * param pageNumber: 页码 (Optional) * param pageSize: 分页大小 (Optional) * param endTime: 结束时间,pattern ="yyyy-MM-dd HH:mm:ss",timezone="GMT+8" (Required) * param startTime: 开始时间,pattern ="yyyy-MM-dd HH:mm:ss",timezone="GMT+8" (Required)
func NewQuerySendRecordUsingGETRequestWithoutParam ¶
func NewQuerySendRecordUsingGETRequestWithoutParam() *QuerySendRecordUsingGETRequest
This constructor has better compatible ability when API parameters changed
func (QuerySendRecordUsingGETRequest) GetRegionId ¶
func (r QuerySendRecordUsingGETRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*QuerySendRecordUsingGETRequest) SetAppId ¶
func (r *QuerySendRecordUsingGETRequest) SetAppId(appId string)
param appId: 应用id(Required)
func (*QuerySendRecordUsingGETRequest) SetEndTime ¶
func (r *QuerySendRecordUsingGETRequest) SetEndTime(endTime string)
param endTime: 结束时间,pattern ="yyyy-MM-dd HH:mm:ss",timezone="GMT+8"(Required)
func (*QuerySendRecordUsingGETRequest) SetPageNumber ¶
func (r *QuerySendRecordUsingGETRequest) SetPageNumber(pageNumber int)
param pageNumber: 页码(Optional)
func (*QuerySendRecordUsingGETRequest) SetPageSize ¶
func (r *QuerySendRecordUsingGETRequest) SetPageSize(pageSize int)
param pageSize: 分页大小(Optional)
func (*QuerySendRecordUsingGETRequest) SetSendNumber ¶
func (r *QuerySendRecordUsingGETRequest) SetSendNumber(sendNumber string)
param sendNumber: 手机号码(Optional)
func (*QuerySendRecordUsingGETRequest) SetSendStatus ¶
func (r *QuerySendRecordUsingGETRequest) SetSendStatus(sendStatus int)
param sendStatus: 发送状态,0 全部状态 1 发送成功 2 发送失败 3 已发送未回执, 默认为0(Optional)
func (*QuerySendRecordUsingGETRequest) SetSign_id ¶
func (r *QuerySendRecordUsingGETRequest) SetSign_id(sign_id string)
param sign_id: 签名id(Optional)
func (*QuerySendRecordUsingGETRequest) SetStartTime ¶
func (r *QuerySendRecordUsingGETRequest) SetStartTime(startTime string)
param startTime: 开始时间,pattern ="yyyy-MM-dd HH:mm:ss",timezone="GMT+8"(Required)
func (*QuerySendRecordUsingGETRequest) SetTemplateId ¶
func (r *QuerySendRecordUsingGETRequest) SetTemplateId(templateId string)
param templateId: 模板id(Optional)
type QuerySendRecordUsingGETResponse ¶
type QuerySendRecordUsingGETResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result QuerySendRecordUsingGETResult `json:"result"` }
type QuerySendRecordUsingGETResult ¶
type QuerySendRecordUsingGETResult struct { SmsApps []ydsms.SendRecord `json:"smsApps"` TotalCount int64 `json:"totalCount"` }
type SendMessagesUsingPOSTRequest ¶
type SendMessagesUsingPOSTRequest struct { core.JDCloudRequest /* 应用id */ AppId string `json:"appId"` /* 短信模板变量对应的数据值 */ Params []string `json:"params"` /* 群发的国内电话号码,群发时一次最多不要超过100个手机号 */ PhoneList []string `json:"phoneList"` /* 签名id */ SignId string `json:"signId"` /* 模板id */ TemplateId string `json:"templateId"` }
func NewSendMessagesUsingPOSTRequest ¶
func NewSendMessagesUsingPOSTRequest( appId string, params []string, phoneList []string, signId string, templateId string, ) *SendMessagesUsingPOSTRequest
* param appId: 应用id (Required) * param params: 短信模板变量对应的数据值 (Required) * param phoneList: 群发的国内电话号码,群发时一次最多不要超过100个手机号 (Required) * param signId: 签名id (Required) * param templateId: 模板id (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewSendMessagesUsingPOSTRequestWithAllParams ¶
func NewSendMessagesUsingPOSTRequestWithAllParams( appId string, params []string, phoneList []string, signId string, templateId string, ) *SendMessagesUsingPOSTRequest
* param appId: 应用id (Required) * param params: 短信模板变量对应的数据值 (Required) * param phoneList: 群发的国内电话号码,群发时一次最多不要超过100个手机号 (Required) * param signId: 签名id (Required) * param templateId: 模板id (Required)
func NewSendMessagesUsingPOSTRequestWithoutParam ¶
func NewSendMessagesUsingPOSTRequestWithoutParam() *SendMessagesUsingPOSTRequest
This constructor has better compatible ability when API parameters changed
func (SendMessagesUsingPOSTRequest) GetRegionId ¶
func (r SendMessagesUsingPOSTRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*SendMessagesUsingPOSTRequest) SetAppId ¶
func (r *SendMessagesUsingPOSTRequest) SetAppId(appId string)
param appId: 应用id(Required)
func (*SendMessagesUsingPOSTRequest) SetParams ¶
func (r *SendMessagesUsingPOSTRequest) SetParams(params []string)
param params: 短信模板变量对应的数据值(Required)
func (*SendMessagesUsingPOSTRequest) SetPhoneList ¶
func (r *SendMessagesUsingPOSTRequest) SetPhoneList(phoneList []string)
param phoneList: 群发的国内电话号码,群发时一次最多不要超过100个手机号(Required)
func (*SendMessagesUsingPOSTRequest) SetSignId ¶
func (r *SendMessagesUsingPOSTRequest) SetSignId(signId string)
param signId: 签名id(Required)
func (*SendMessagesUsingPOSTRequest) SetTemplateId ¶
func (r *SendMessagesUsingPOSTRequest) SetTemplateId(templateId string)
param templateId: 模板id(Required)
type SendMessagesUsingPOSTResponse ¶
type SendMessagesUsingPOSTResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result SendMessagesUsingPOSTResult `json:"result"` }
type TaskStartUsingGETRequest ¶
type TaskStartUsingGETRequest struct { core.JDCloudRequest /* 任务id */ TaskId string `json:"taskId"` }
func NewTaskStartUsingGETRequest ¶
func NewTaskStartUsingGETRequest( taskId string, ) *TaskStartUsingGETRequest
* param taskId: 任务id (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewTaskStartUsingGETRequestWithAllParams ¶
func NewTaskStartUsingGETRequestWithAllParams( taskId string, ) *TaskStartUsingGETRequest
* param taskId: 任务id (Required)
func NewTaskStartUsingGETRequestWithoutParam ¶
func NewTaskStartUsingGETRequestWithoutParam() *TaskStartUsingGETRequest
This constructor has better compatible ability when API parameters changed
func (TaskStartUsingGETRequest) GetRegionId ¶
func (r TaskStartUsingGETRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*TaskStartUsingGETRequest) SetTaskId ¶
func (r *TaskStartUsingGETRequest) SetTaskId(taskId string)
param taskId: 任务id(Required)
type TaskStartUsingGETResponse ¶
type TaskStartUsingGETResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result TaskStartUsingGETResult `json:"result"` }
type TaskStartUsingGETResult ¶
type TaskStartUsingGETResult struct {
Success bool `json:"success"`
}
Source Files ¶
- CreateSmsAppUsingPOST.go
- CreateSmsPackageUsingPOST.go
- CreateSmsSignUsingPOST.go
- CreateSmsTaskUsingPOST.go
- CreateSmsTemplateUsingPOST.go
- GetSmsAppByIdUsingGET.go
- GetSmsPackageByIdUsingGET.go
- GetSmsPackageSpecificationsUsingGET.go
- GetSmsSignByIdUsingGET.go
- GetSmsTaskIdUsingGET.go
- GetSmsTemplateByIdUsingGET.go
- ListSmsAppGeneralSettingsUsingGET.go
- ListSmsAppsUsingGET.go
- ListSmsCertificateTypesUsingGET.go
- ListSmsPackagesUsingGET.go
- ListSmsSendOverviewUsingGET.go
- ListSmsSignTypesUsingGET.go
- ListSmsSignsUsingGET.go
- ListSmsTasksUsingGET.go
- ListSmsTemplatesUsingGET.go
- ModifyAppGeneralSettingById.go
- ModifySmsAppUsingPOST.go
- ModifySmsSignUsingPOST.go
- ModifySmsTemplateUsingPOST.go
- ModifyStatusUsingPOST.go
- OpenServiceUsingPOST.go
- QueryAmountUsingGET.go
- QueryReceiptRecordUsingGET.go
- QueryRemainingUsingGET.go
- QueryReplyRecordUsingGET.go
- QuerySecretKeyUsingGET.go
- QuerySendRecordUsingGET.go
- SendMessagesUsingPOST.go
- TaskStartUsingGET.go