Documentation ¶
Overview ¶
This file is auto-generated, don't edit it. Thanks.
Index ¶
- type Alert
- type AndroidPayload
- type Aps
- func (s Aps) GoString() string
- func (s *Aps) SetAlert(v *Alert) *Aps
- func (s *Aps) SetBadge(v string) *Aps
- func (s *Aps) SetCategory(v string) *Aps
- func (s *Aps) SetContentAvailable(v int32) *Aps
- func (s *Aps) SetInterruptionLevel(v string) *Aps
- func (s *Aps) SetSound(v string) *Aps
- func (s *Aps) SetThreadID(v string) *Aps
- func (s Aps) String() string
- type Body
- func (s Body) GoString() string
- func (s *Body) SetActivity(v string) *Body
- func (s *Body) SetAddBadge(v int32) *Body
- func (s *Body) SetAfterOpen(v string) *Body
- func (s *Body) SetBuilderId(v int64) *Body
- func (s *Body) SetCustom(v string) *Body
- func (s *Body) SetExpandImage(v string) *Body
- func (s *Body) SetIcon(v string) *Body
- func (s *Body) SetImg(v string) *Body
- func (s *Body) SetPlayLights(v bool) *Body
- func (s *Body) SetPlaySound(v bool) *Body
- func (s *Body) SetPlayVibrate(v bool) *Body
- func (s *Body) SetRePop(v int32) *Body
- func (s *Body) SetSetBadge(v int32) *Body
- func (s *Body) SetSound(v string) *Body
- func (s *Body) SetText(v string) *Body
- func (s *Body) SetTitle(v string) *Body
- func (s *Body) SetUrl(v string) *Body
- func (s Body) String() string
- type CancelByMsgIdRequest
- type CancelByMsgIdResponse
- func (s CancelByMsgIdResponse) GoString() string
- func (s *CancelByMsgIdResponse) SetBody(v *CancelByMsgIdResponseBody) *CancelByMsgIdResponse
- func (s *CancelByMsgIdResponse) SetHeaders(v map[string]*string) *CancelByMsgIdResponse
- func (s *CancelByMsgIdResponse) SetStatusCode(v int32) *CancelByMsgIdResponse
- func (s CancelByMsgIdResponse) String() string
- type CancelByMsgIdResponseBody
- func (s CancelByMsgIdResponseBody) GoString() string
- func (s *CancelByMsgIdResponseBody) SetCode(v string) *CancelByMsgIdResponseBody
- func (s *CancelByMsgIdResponseBody) SetData(v *CancelByMsgIdResponseBodyData) *CancelByMsgIdResponseBody
- func (s *CancelByMsgIdResponseBody) SetHttpStatusCode(v int32) *CancelByMsgIdResponseBody
- func (s *CancelByMsgIdResponseBody) SetMessage(v string) *CancelByMsgIdResponseBody
- func (s *CancelByMsgIdResponseBody) SetRequestId(v string) *CancelByMsgIdResponseBody
- func (s *CancelByMsgIdResponseBody) SetSuccess(v bool) *CancelByMsgIdResponseBody
- func (s CancelByMsgIdResponseBody) String() string
- type CancelByMsgIdResponseBodyData
- type ChannelProperties
- func (s ChannelProperties) GoString() string
- func (s *ChannelProperties) SetChannelActivity(v string) *ChannelProperties
- func (s *ChannelProperties) SetChannelFcm(v string) *ChannelProperties
- func (s *ChannelProperties) SetHuaweiChannelCategory(v string) *ChannelProperties
- func (s *ChannelProperties) SetHuaweiChannelImportance(v string) *ChannelProperties
- func (s *ChannelProperties) SetMainActivity(v string) *ChannelProperties
- func (s *ChannelProperties) SetOppoChannelId(v string) *ChannelProperties
- func (s *ChannelProperties) SetVivoAddBadge(v string) *ChannelProperties
- func (s *ChannelProperties) SetVivoCategory(v string) *ChannelProperties
- func (s *ChannelProperties) SetXiaomiChannelId(v string) *ChannelProperties
- func (s ChannelProperties) String() string
- type Client
- func (client *Client) CancelByMsgId(request *CancelByMsgIdRequest) (_result *CancelByMsgIdResponse, _err error)
- func (client *Client) CancelByMsgIdWithOptions(request *CancelByMsgIdRequest, headers map[string]*string, ...) (_result *CancelByMsgIdResponse, _err error)
- func (client *Client) GetEndpoint(productId *string, regionId *string, endpointRule *string, network *string, ...) (_result *string, _err error)
- func (client *Client) Init(config *openapi.Config) (_err error)
- func (client *Client) QueryMsgStat(request *QueryMsgStatRequest) (_result *QueryMsgStatResponse, _err error)
- func (client *Client) QueryMsgStatWithOptions(request *QueryMsgStatRequest, headers map[string]*string, ...) (_result *QueryMsgStatResponse, _err error)
- func (client *Client) SendByAlias(request *SendByAliasRequest) (_result *SendByAliasResponse, _err error)
- func (client *Client) SendByAliasFileId(request *SendByAliasFileIdRequest) (_result *SendByAliasFileIdResponse, _err error)
- func (client *Client) SendByAliasFileIdWithOptions(tmpReq *SendByAliasFileIdRequest, headers map[string]*string, ...) (_result *SendByAliasFileIdResponse, _err error)
- func (client *Client) SendByAliasWithOptions(tmpReq *SendByAliasRequest, headers map[string]*string, ...) (_result *SendByAliasResponse, _err error)
- func (client *Client) SendByApp(request *SendByAppRequest) (_result *SendByAppResponse, _err error)
- func (client *Client) SendByAppWithOptions(tmpReq *SendByAppRequest, headers map[string]*string, ...) (_result *SendByAppResponse, _err error)
- func (client *Client) SendByDevice(request *SendByDeviceRequest) (_result *SendByDeviceResponse, _err error)
- func (client *Client) SendByDeviceFileId(request *SendByDeviceFileIdRequest) (_result *SendByDeviceFileIdResponse, _err error)
- func (client *Client) SendByDeviceFileIdWithOptions(tmpReq *SendByDeviceFileIdRequest, headers map[string]*string, ...) (_result *SendByDeviceFileIdResponse, _err error)
- func (client *Client) SendByDeviceWithOptions(tmpReq *SendByDeviceRequest, headers map[string]*string, ...) (_result *SendByDeviceResponse, _err error)
- func (client *Client) SendByFilter(request *SendByFilterRequest) (_result *SendByFilterResponse, _err error)
- func (client *Client) SendByFilterWithOptions(tmpReq *SendByFilterRequest, headers map[string]*string, ...) (_result *SendByFilterResponse, _err error)
- func (client *Client) UploadDevice(request *UploadDeviceRequest) (_result *UploadDeviceResponse, _err error)
- func (client *Client) UploadDeviceWithOptions(request *UploadDeviceRequest, headers map[string]*string, ...) (_result *UploadDeviceResponse, _err error)
- type IosPayload
- type Policy
- type QueryMsgStatRequest
- type QueryMsgStatResponse
- func (s QueryMsgStatResponse) GoString() string
- func (s *QueryMsgStatResponse) SetBody(v *QueryMsgStatResponseBody) *QueryMsgStatResponse
- func (s *QueryMsgStatResponse) SetHeaders(v map[string]*string) *QueryMsgStatResponse
- func (s *QueryMsgStatResponse) SetStatusCode(v int32) *QueryMsgStatResponse
- func (s QueryMsgStatResponse) String() string
- type QueryMsgStatResponseBody
- func (s QueryMsgStatResponseBody) GoString() string
- func (s *QueryMsgStatResponseBody) SetCode(v string) *QueryMsgStatResponseBody
- func (s *QueryMsgStatResponseBody) SetData(v *QueryMsgStatResponseBodyData) *QueryMsgStatResponseBody
- func (s *QueryMsgStatResponseBody) SetHttpStatusCode(v int32) *QueryMsgStatResponseBody
- func (s *QueryMsgStatResponseBody) SetMessage(v string) *QueryMsgStatResponseBody
- func (s *QueryMsgStatResponseBody) SetRequestId(v string) *QueryMsgStatResponseBody
- func (s *QueryMsgStatResponseBody) SetSuccess(v bool) *QueryMsgStatResponseBody
- func (s QueryMsgStatResponseBody) String() string
- type QueryMsgStatResponseBodyData
- func (s QueryMsgStatResponseBodyData) GoString() string
- func (s *QueryMsgStatResponseBodyData) SetAccept(v int64) *QueryMsgStatResponseBodyData
- func (s *QueryMsgStatResponseBodyData) SetArrive(v int64) *QueryMsgStatResponseBodyData
- func (s *QueryMsgStatResponseBodyData) SetClosePush(v int64) *QueryMsgStatResponseBodyData
- func (s *QueryMsgStatResponseBodyData) SetDismiss(v int64) *QueryMsgStatResponseBodyData
- func (s *QueryMsgStatResponseBodyData) SetMsgId(v string) *QueryMsgStatResponseBodyData
- func (s *QueryMsgStatResponseBodyData) SetOpen(v int64) *QueryMsgStatResponseBodyData
- func (s *QueryMsgStatResponseBodyData) SetSent(v int64) *QueryMsgStatResponseBodyData
- func (s *QueryMsgStatResponseBodyData) SetStatus(v int32) *QueryMsgStatResponseBodyData
- func (s QueryMsgStatResponseBodyData) String() string
- type SendByAliasFileIdRequest
- func (s SendByAliasFileIdRequest) GoString() string
- func (s *SendByAliasFileIdRequest) SetAliasType(v string) *SendByAliasFileIdRequest
- func (s *SendByAliasFileIdRequest) SetAndroidPayload(v *AndroidPayload) *SendByAliasFileIdRequest
- func (s *SendByAliasFileIdRequest) SetChannelProperties(v *ChannelProperties) *SendByAliasFileIdRequest
- func (s *SendByAliasFileIdRequest) SetDescription(v string) *SendByAliasFileIdRequest
- func (s *SendByAliasFileIdRequest) SetFileId(v string) *SendByAliasFileIdRequest
- func (s *SendByAliasFileIdRequest) SetIosPayload(v *IosPayload) *SendByAliasFileIdRequest
- func (s *SendByAliasFileIdRequest) SetPolicy(v *Policy) *SendByAliasFileIdRequest
- func (s *SendByAliasFileIdRequest) SetProductionMode(v bool) *SendByAliasFileIdRequest
- func (s *SendByAliasFileIdRequest) SetReceiptType(v int32) *SendByAliasFileIdRequest
- func (s *SendByAliasFileIdRequest) SetReceiptUrl(v string) *SendByAliasFileIdRequest
- func (s *SendByAliasFileIdRequest) SetThirdPartyId(v string) *SendByAliasFileIdRequest
- func (s SendByAliasFileIdRequest) String() string
- type SendByAliasFileIdResponse
- func (s SendByAliasFileIdResponse) GoString() string
- func (s *SendByAliasFileIdResponse) SetBody(v *SendByAliasFileIdResponseBody) *SendByAliasFileIdResponse
- func (s *SendByAliasFileIdResponse) SetHeaders(v map[string]*string) *SendByAliasFileIdResponse
- func (s *SendByAliasFileIdResponse) SetStatusCode(v int32) *SendByAliasFileIdResponse
- func (s SendByAliasFileIdResponse) String() string
- type SendByAliasFileIdResponseBody
- func (s SendByAliasFileIdResponseBody) GoString() string
- func (s *SendByAliasFileIdResponseBody) SetCode(v string) *SendByAliasFileIdResponseBody
- func (s *SendByAliasFileIdResponseBody) SetData(v *SendByAliasFileIdResponseBodyData) *SendByAliasFileIdResponseBody
- func (s *SendByAliasFileIdResponseBody) SetHttpStatusCode(v int32) *SendByAliasFileIdResponseBody
- func (s *SendByAliasFileIdResponseBody) SetMessage(v string) *SendByAliasFileIdResponseBody
- func (s *SendByAliasFileIdResponseBody) SetRequestId(v string) *SendByAliasFileIdResponseBody
- func (s *SendByAliasFileIdResponseBody) SetSuccess(v bool) *SendByAliasFileIdResponseBody
- func (s SendByAliasFileIdResponseBody) String() string
- type SendByAliasFileIdResponseBodyData
- type SendByAliasFileIdShrinkRequest
- func (s SendByAliasFileIdShrinkRequest) GoString() string
- func (s *SendByAliasFileIdShrinkRequest) SetAliasType(v string) *SendByAliasFileIdShrinkRequest
- func (s *SendByAliasFileIdShrinkRequest) SetAndroidPayloadShrink(v string) *SendByAliasFileIdShrinkRequest
- func (s *SendByAliasFileIdShrinkRequest) SetChannelPropertiesShrink(v string) *SendByAliasFileIdShrinkRequest
- func (s *SendByAliasFileIdShrinkRequest) SetDescription(v string) *SendByAliasFileIdShrinkRequest
- func (s *SendByAliasFileIdShrinkRequest) SetFileId(v string) *SendByAliasFileIdShrinkRequest
- func (s *SendByAliasFileIdShrinkRequest) SetIosPayloadShrink(v string) *SendByAliasFileIdShrinkRequest
- func (s *SendByAliasFileIdShrinkRequest) SetPolicyShrink(v string) *SendByAliasFileIdShrinkRequest
- func (s *SendByAliasFileIdShrinkRequest) SetProductionMode(v bool) *SendByAliasFileIdShrinkRequest
- func (s *SendByAliasFileIdShrinkRequest) SetReceiptType(v int32) *SendByAliasFileIdShrinkRequest
- func (s *SendByAliasFileIdShrinkRequest) SetReceiptUrl(v string) *SendByAliasFileIdShrinkRequest
- func (s *SendByAliasFileIdShrinkRequest) SetThirdPartyId(v string) *SendByAliasFileIdShrinkRequest
- func (s SendByAliasFileIdShrinkRequest) String() string
- type SendByAliasRequest
- func (s SendByAliasRequest) GoString() string
- func (s *SendByAliasRequest) SetAlias(v string) *SendByAliasRequest
- func (s *SendByAliasRequest) SetAliasType(v string) *SendByAliasRequest
- func (s *SendByAliasRequest) SetAndroidPayload(v *AndroidPayload) *SendByAliasRequest
- func (s *SendByAliasRequest) SetChannelProperties(v *ChannelProperties) *SendByAliasRequest
- func (s *SendByAliasRequest) SetDescription(v string) *SendByAliasRequest
- func (s *SendByAliasRequest) SetIosPayload(v *IosPayload) *SendByAliasRequest
- func (s *SendByAliasRequest) SetPolicy(v *Policy) *SendByAliasRequest
- func (s *SendByAliasRequest) SetProductionMode(v bool) *SendByAliasRequest
- func (s *SendByAliasRequest) SetReceiptType(v int32) *SendByAliasRequest
- func (s *SendByAliasRequest) SetReceiptUrl(v string) *SendByAliasRequest
- func (s *SendByAliasRequest) SetThirdPartyId(v string) *SendByAliasRequest
- func (s SendByAliasRequest) String() string
- type SendByAliasResponse
- func (s SendByAliasResponse) GoString() string
- func (s *SendByAliasResponse) SetBody(v *SendByAliasResponseBody) *SendByAliasResponse
- func (s *SendByAliasResponse) SetHeaders(v map[string]*string) *SendByAliasResponse
- func (s *SendByAliasResponse) SetStatusCode(v int32) *SendByAliasResponse
- func (s SendByAliasResponse) String() string
- type SendByAliasResponseBody
- func (s SendByAliasResponseBody) GoString() string
- func (s *SendByAliasResponseBody) SetCode(v string) *SendByAliasResponseBody
- func (s *SendByAliasResponseBody) SetData(v *SendByAliasResponseBodyData) *SendByAliasResponseBody
- func (s *SendByAliasResponseBody) SetHttpStatusCode(v int32) *SendByAliasResponseBody
- func (s *SendByAliasResponseBody) SetMessage(v string) *SendByAliasResponseBody
- func (s *SendByAliasResponseBody) SetRequestId(v string) *SendByAliasResponseBody
- func (s *SendByAliasResponseBody) SetSuccess(v bool) *SendByAliasResponseBody
- func (s SendByAliasResponseBody) String() string
- type SendByAliasResponseBodyData
- type SendByAliasShrinkRequest
- func (s SendByAliasShrinkRequest) GoString() string
- func (s *SendByAliasShrinkRequest) SetAlias(v string) *SendByAliasShrinkRequest
- func (s *SendByAliasShrinkRequest) SetAliasType(v string) *SendByAliasShrinkRequest
- func (s *SendByAliasShrinkRequest) SetAndroidPayloadShrink(v string) *SendByAliasShrinkRequest
- func (s *SendByAliasShrinkRequest) SetChannelPropertiesShrink(v string) *SendByAliasShrinkRequest
- func (s *SendByAliasShrinkRequest) SetDescription(v string) *SendByAliasShrinkRequest
- func (s *SendByAliasShrinkRequest) SetIosPayloadShrink(v string) *SendByAliasShrinkRequest
- func (s *SendByAliasShrinkRequest) SetPolicyShrink(v string) *SendByAliasShrinkRequest
- func (s *SendByAliasShrinkRequest) SetProductionMode(v bool) *SendByAliasShrinkRequest
- func (s *SendByAliasShrinkRequest) SetReceiptType(v int32) *SendByAliasShrinkRequest
- func (s *SendByAliasShrinkRequest) SetReceiptUrl(v string) *SendByAliasShrinkRequest
- func (s *SendByAliasShrinkRequest) SetThirdPartyId(v string) *SendByAliasShrinkRequest
- func (s SendByAliasShrinkRequest) String() string
- type SendByAppRequest
- func (s SendByAppRequest) GoString() string
- func (s *SendByAppRequest) SetAndroidPayload(v *AndroidPayload) *SendByAppRequest
- func (s *SendByAppRequest) SetChannelProperties(v *ChannelProperties) *SendByAppRequest
- func (s *SendByAppRequest) SetDescription(v string) *SendByAppRequest
- func (s *SendByAppRequest) SetIosPayload(v *IosPayload) *SendByAppRequest
- func (s *SendByAppRequest) SetPolicy(v *Policy) *SendByAppRequest
- func (s *SendByAppRequest) SetProductionMode(v bool) *SendByAppRequest
- func (s *SendByAppRequest) SetReceiptType(v int32) *SendByAppRequest
- func (s *SendByAppRequest) SetReceiptUrl(v string) *SendByAppRequest
- func (s *SendByAppRequest) SetThirdPartyId(v string) *SendByAppRequest
- func (s SendByAppRequest) String() string
- type SendByAppResponse
- func (s SendByAppResponse) GoString() string
- func (s *SendByAppResponse) SetBody(v *SendByAppResponseBody) *SendByAppResponse
- func (s *SendByAppResponse) SetHeaders(v map[string]*string) *SendByAppResponse
- func (s *SendByAppResponse) SetStatusCode(v int32) *SendByAppResponse
- func (s SendByAppResponse) String() string
- type SendByAppResponseBody
- func (s SendByAppResponseBody) GoString() string
- func (s *SendByAppResponseBody) SetCode(v string) *SendByAppResponseBody
- func (s *SendByAppResponseBody) SetData(v *SendByAppResponseBodyData) *SendByAppResponseBody
- func (s *SendByAppResponseBody) SetHttpStatusCode(v int32) *SendByAppResponseBody
- func (s *SendByAppResponseBody) SetMessage(v string) *SendByAppResponseBody
- func (s *SendByAppResponseBody) SetRequestId(v string) *SendByAppResponseBody
- func (s *SendByAppResponseBody) SetSuccess(v bool) *SendByAppResponseBody
- func (s SendByAppResponseBody) String() string
- type SendByAppResponseBodyData
- type SendByAppShrinkRequest
- func (s SendByAppShrinkRequest) GoString() string
- func (s *SendByAppShrinkRequest) SetAndroidPayloadShrink(v string) *SendByAppShrinkRequest
- func (s *SendByAppShrinkRequest) SetChannelPropertiesShrink(v string) *SendByAppShrinkRequest
- func (s *SendByAppShrinkRequest) SetDescription(v string) *SendByAppShrinkRequest
- func (s *SendByAppShrinkRequest) SetIosPayloadShrink(v string) *SendByAppShrinkRequest
- func (s *SendByAppShrinkRequest) SetPolicyShrink(v string) *SendByAppShrinkRequest
- func (s *SendByAppShrinkRequest) SetProductionMode(v bool) *SendByAppShrinkRequest
- func (s *SendByAppShrinkRequest) SetReceiptType(v int32) *SendByAppShrinkRequest
- func (s *SendByAppShrinkRequest) SetReceiptUrl(v string) *SendByAppShrinkRequest
- func (s *SendByAppShrinkRequest) SetThirdPartyId(v string) *SendByAppShrinkRequest
- func (s SendByAppShrinkRequest) String() string
- type SendByDeviceFileIdRequest
- func (s SendByDeviceFileIdRequest) GoString() string
- func (s *SendByDeviceFileIdRequest) SetAndroidPayload(v *AndroidPayload) *SendByDeviceFileIdRequest
- func (s *SendByDeviceFileIdRequest) SetChannelProperties(v *ChannelProperties) *SendByDeviceFileIdRequest
- func (s *SendByDeviceFileIdRequest) SetDescription(v string) *SendByDeviceFileIdRequest
- func (s *SendByDeviceFileIdRequest) SetFileId(v string) *SendByDeviceFileIdRequest
- func (s *SendByDeviceFileIdRequest) SetIosPayload(v *IosPayload) *SendByDeviceFileIdRequest
- func (s *SendByDeviceFileIdRequest) SetPolicy(v *Policy) *SendByDeviceFileIdRequest
- func (s *SendByDeviceFileIdRequest) SetProductionMode(v bool) *SendByDeviceFileIdRequest
- func (s *SendByDeviceFileIdRequest) SetReceiptType(v int32) *SendByDeviceFileIdRequest
- func (s *SendByDeviceFileIdRequest) SetReceiptUrl(v string) *SendByDeviceFileIdRequest
- func (s *SendByDeviceFileIdRequest) SetThirdPartyId(v string) *SendByDeviceFileIdRequest
- func (s SendByDeviceFileIdRequest) String() string
- type SendByDeviceFileIdResponse
- func (s SendByDeviceFileIdResponse) GoString() string
- func (s *SendByDeviceFileIdResponse) SetBody(v *SendByDeviceFileIdResponseBody) *SendByDeviceFileIdResponse
- func (s *SendByDeviceFileIdResponse) SetHeaders(v map[string]*string) *SendByDeviceFileIdResponse
- func (s *SendByDeviceFileIdResponse) SetStatusCode(v int32) *SendByDeviceFileIdResponse
- func (s SendByDeviceFileIdResponse) String() string
- type SendByDeviceFileIdResponseBody
- func (s SendByDeviceFileIdResponseBody) GoString() string
- func (s *SendByDeviceFileIdResponseBody) SetCode(v string) *SendByDeviceFileIdResponseBody
- func (s *SendByDeviceFileIdResponseBody) SetData(v *SendByDeviceFileIdResponseBodyData) *SendByDeviceFileIdResponseBody
- func (s *SendByDeviceFileIdResponseBody) SetHttpStatusCode(v int32) *SendByDeviceFileIdResponseBody
- func (s *SendByDeviceFileIdResponseBody) SetMessage(v string) *SendByDeviceFileIdResponseBody
- func (s *SendByDeviceFileIdResponseBody) SetRequestId(v string) *SendByDeviceFileIdResponseBody
- func (s *SendByDeviceFileIdResponseBody) SetSuccess(v bool) *SendByDeviceFileIdResponseBody
- func (s SendByDeviceFileIdResponseBody) String() string
- type SendByDeviceFileIdResponseBodyData
- type SendByDeviceFileIdShrinkRequest
- func (s SendByDeviceFileIdShrinkRequest) GoString() string
- func (s *SendByDeviceFileIdShrinkRequest) SetAndroidPayloadShrink(v string) *SendByDeviceFileIdShrinkRequest
- func (s *SendByDeviceFileIdShrinkRequest) SetChannelPropertiesShrink(v string) *SendByDeviceFileIdShrinkRequest
- func (s *SendByDeviceFileIdShrinkRequest) SetDescription(v string) *SendByDeviceFileIdShrinkRequest
- func (s *SendByDeviceFileIdShrinkRequest) SetFileId(v string) *SendByDeviceFileIdShrinkRequest
- func (s *SendByDeviceFileIdShrinkRequest) SetIosPayloadShrink(v string) *SendByDeviceFileIdShrinkRequest
- func (s *SendByDeviceFileIdShrinkRequest) SetPolicyShrink(v string) *SendByDeviceFileIdShrinkRequest
- func (s *SendByDeviceFileIdShrinkRequest) SetProductionMode(v bool) *SendByDeviceFileIdShrinkRequest
- func (s *SendByDeviceFileIdShrinkRequest) SetReceiptType(v int32) *SendByDeviceFileIdShrinkRequest
- func (s *SendByDeviceFileIdShrinkRequest) SetReceiptUrl(v string) *SendByDeviceFileIdShrinkRequest
- func (s *SendByDeviceFileIdShrinkRequest) SetThirdPartyId(v string) *SendByDeviceFileIdShrinkRequest
- func (s SendByDeviceFileIdShrinkRequest) String() string
- type SendByDeviceRequest
- func (s SendByDeviceRequest) GoString() string
- func (s *SendByDeviceRequest) SetAndroidPayload(v *AndroidPayload) *SendByDeviceRequest
- func (s *SendByDeviceRequest) SetChannelProperties(v *ChannelProperties) *SendByDeviceRequest
- func (s *SendByDeviceRequest) SetDescription(v string) *SendByDeviceRequest
- func (s *SendByDeviceRequest) SetDeviceTokens(v string) *SendByDeviceRequest
- func (s *SendByDeviceRequest) SetIosPayload(v *IosPayload) *SendByDeviceRequest
- func (s *SendByDeviceRequest) SetPolicy(v *Policy) *SendByDeviceRequest
- func (s *SendByDeviceRequest) SetProductionMode(v bool) *SendByDeviceRequest
- func (s *SendByDeviceRequest) SetReceiptType(v int32) *SendByDeviceRequest
- func (s *SendByDeviceRequest) SetReceiptUrl(v string) *SendByDeviceRequest
- func (s *SendByDeviceRequest) SetThirdPartyId(v string) *SendByDeviceRequest
- func (s SendByDeviceRequest) String() string
- type SendByDeviceResponse
- func (s SendByDeviceResponse) GoString() string
- func (s *SendByDeviceResponse) SetBody(v *SendByDeviceResponseBody) *SendByDeviceResponse
- func (s *SendByDeviceResponse) SetHeaders(v map[string]*string) *SendByDeviceResponse
- func (s *SendByDeviceResponse) SetStatusCode(v int32) *SendByDeviceResponse
- func (s SendByDeviceResponse) String() string
- type SendByDeviceResponseBody
- func (s SendByDeviceResponseBody) GoString() string
- func (s *SendByDeviceResponseBody) SetCode(v string) *SendByDeviceResponseBody
- func (s *SendByDeviceResponseBody) SetData(v *SendByDeviceResponseBodyData) *SendByDeviceResponseBody
- func (s *SendByDeviceResponseBody) SetHttpStatusCode(v int32) *SendByDeviceResponseBody
- func (s *SendByDeviceResponseBody) SetMessage(v string) *SendByDeviceResponseBody
- func (s *SendByDeviceResponseBody) SetRequestId(v string) *SendByDeviceResponseBody
- func (s *SendByDeviceResponseBody) SetSuccess(v bool) *SendByDeviceResponseBody
- func (s SendByDeviceResponseBody) String() string
- type SendByDeviceResponseBodyData
- type SendByDeviceShrinkRequest
- func (s SendByDeviceShrinkRequest) GoString() string
- func (s *SendByDeviceShrinkRequest) SetAndroidPayloadShrink(v string) *SendByDeviceShrinkRequest
- func (s *SendByDeviceShrinkRequest) SetChannelPropertiesShrink(v string) *SendByDeviceShrinkRequest
- func (s *SendByDeviceShrinkRequest) SetDescription(v string) *SendByDeviceShrinkRequest
- func (s *SendByDeviceShrinkRequest) SetDeviceTokens(v string) *SendByDeviceShrinkRequest
- func (s *SendByDeviceShrinkRequest) SetIosPayloadShrink(v string) *SendByDeviceShrinkRequest
- func (s *SendByDeviceShrinkRequest) SetPolicyShrink(v string) *SendByDeviceShrinkRequest
- func (s *SendByDeviceShrinkRequest) SetProductionMode(v bool) *SendByDeviceShrinkRequest
- func (s *SendByDeviceShrinkRequest) SetReceiptType(v int32) *SendByDeviceShrinkRequest
- func (s *SendByDeviceShrinkRequest) SetReceiptUrl(v string) *SendByDeviceShrinkRequest
- func (s *SendByDeviceShrinkRequest) SetThirdPartyId(v string) *SendByDeviceShrinkRequest
- func (s SendByDeviceShrinkRequest) String() string
- type SendByFilterRequest
- func (s SendByFilterRequest) GoString() string
- func (s *SendByFilterRequest) SetAndroidPayload(v *AndroidPayload) *SendByFilterRequest
- func (s *SendByFilterRequest) SetChannelProperties(v *ChannelProperties) *SendByFilterRequest
- func (s *SendByFilterRequest) SetDescription(v string) *SendByFilterRequest
- func (s *SendByFilterRequest) SetFilter(v string) *SendByFilterRequest
- func (s *SendByFilterRequest) SetIosPayload(v *IosPayload) *SendByFilterRequest
- func (s *SendByFilterRequest) SetPolicy(v *Policy) *SendByFilterRequest
- func (s *SendByFilterRequest) SetProductionMode(v bool) *SendByFilterRequest
- func (s *SendByFilterRequest) SetReceiptType(v int32) *SendByFilterRequest
- func (s *SendByFilterRequest) SetReceiptUrl(v string) *SendByFilterRequest
- func (s *SendByFilterRequest) SetThirdPartyId(v string) *SendByFilterRequest
- func (s SendByFilterRequest) String() string
- type SendByFilterResponse
- func (s SendByFilterResponse) GoString() string
- func (s *SendByFilterResponse) SetBody(v *SendByFilterResponseBody) *SendByFilterResponse
- func (s *SendByFilterResponse) SetHeaders(v map[string]*string) *SendByFilterResponse
- func (s *SendByFilterResponse) SetStatusCode(v int32) *SendByFilterResponse
- func (s SendByFilterResponse) String() string
- type SendByFilterResponseBody
- func (s SendByFilterResponseBody) GoString() string
- func (s *SendByFilterResponseBody) SetCode(v string) *SendByFilterResponseBody
- func (s *SendByFilterResponseBody) SetData(v *SendByFilterResponseBodyData) *SendByFilterResponseBody
- func (s *SendByFilterResponseBody) SetHttpStatusCode(v int32) *SendByFilterResponseBody
- func (s *SendByFilterResponseBody) SetMessage(v string) *SendByFilterResponseBody
- func (s *SendByFilterResponseBody) SetRequestId(v string) *SendByFilterResponseBody
- func (s *SendByFilterResponseBody) SetSuccess(v bool) *SendByFilterResponseBody
- func (s SendByFilterResponseBody) String() string
- type SendByFilterResponseBodyData
- type SendByFilterShrinkRequest
- func (s SendByFilterShrinkRequest) GoString() string
- func (s *SendByFilterShrinkRequest) SetAndroidPayloadShrink(v string) *SendByFilterShrinkRequest
- func (s *SendByFilterShrinkRequest) SetChannelPropertiesShrink(v string) *SendByFilterShrinkRequest
- func (s *SendByFilterShrinkRequest) SetDescription(v string) *SendByFilterShrinkRequest
- func (s *SendByFilterShrinkRequest) SetFilter(v string) *SendByFilterShrinkRequest
- func (s *SendByFilterShrinkRequest) SetIosPayloadShrink(v string) *SendByFilterShrinkRequest
- func (s *SendByFilterShrinkRequest) SetPolicyShrink(v string) *SendByFilterShrinkRequest
- func (s *SendByFilterShrinkRequest) SetProductionMode(v bool) *SendByFilterShrinkRequest
- func (s *SendByFilterShrinkRequest) SetReceiptType(v int32) *SendByFilterShrinkRequest
- func (s *SendByFilterShrinkRequest) SetReceiptUrl(v string) *SendByFilterShrinkRequest
- func (s *SendByFilterShrinkRequest) SetThirdPartyId(v string) *SendByFilterShrinkRequest
- func (s SendByFilterShrinkRequest) String() string
- type UploadDeviceRequest
- type UploadDeviceResponse
- func (s UploadDeviceResponse) GoString() string
- func (s *UploadDeviceResponse) SetBody(v *UploadDeviceResponseBody) *UploadDeviceResponse
- func (s *UploadDeviceResponse) SetHeaders(v map[string]*string) *UploadDeviceResponse
- func (s *UploadDeviceResponse) SetStatusCode(v int32) *UploadDeviceResponse
- func (s UploadDeviceResponse) String() string
- type UploadDeviceResponseBody
- func (s UploadDeviceResponseBody) GoString() string
- func (s *UploadDeviceResponseBody) SetCode(v string) *UploadDeviceResponseBody
- func (s *UploadDeviceResponseBody) SetData(v *UploadDeviceResponseBodyData) *UploadDeviceResponseBody
- func (s *UploadDeviceResponseBody) SetHttpStatusCode(v int32) *UploadDeviceResponseBody
- func (s *UploadDeviceResponseBody) SetMessage(v string) *UploadDeviceResponseBody
- func (s *UploadDeviceResponseBody) SetRequestId(v string) *UploadDeviceResponseBody
- func (s *UploadDeviceResponseBody) SetSuccess(v bool) *UploadDeviceResponseBody
- func (s UploadDeviceResponseBody) String() string
- type UploadDeviceResponseBodyData
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Alert ¶
type Alert struct { Body *string `json:"body,omitempty" xml:"body,omitempty"` Subtitle *string `json:"subtitle,omitempty" xml:"subtitle,omitempty"` Title *string `json:"title,omitempty" xml:"title,omitempty"` }
func (*Alert) SetSubtitle ¶
type AndroidPayload ¶
type AndroidPayload struct { Body *Body `json:"body,omitempty" xml:"body,omitempty"` DisplayType *string `json:"displayType,omitempty" xml:"displayType,omitempty"` Extra map[string]interface{} `json:"extra,omitempty" xml:"extra,omitempty"` }
func (AndroidPayload) GoString ¶
func (s AndroidPayload) GoString() string
func (*AndroidPayload) SetBody ¶
func (s *AndroidPayload) SetBody(v *Body) *AndroidPayload
func (*AndroidPayload) SetDisplayType ¶
func (s *AndroidPayload) SetDisplayType(v string) *AndroidPayload
func (*AndroidPayload) SetExtra ¶
func (s *AndroidPayload) SetExtra(v map[string]interface{}) *AndroidPayload
func (AndroidPayload) String ¶
func (s AndroidPayload) String() string
type Aps ¶
type Aps struct { Alert *Alert `json:"alert,omitempty" xml:"alert,omitempty"` // example: // // +1(自增),-1(自减),4(设置数字) Badge *string `json:"badge,omitempty" xml:"badge,omitempty"` Category *string `json:"category,omitempty" xml:"category,omitempty"` ContentAvailable *int32 `json:"contentAvailable,omitempty" xml:"contentAvailable,omitempty"` InterruptionLevel *string `json:"interruptionLevel,omitempty" xml:"interruptionLevel,omitempty"` Sound *string `json:"sound,omitempty" xml:"sound,omitempty"` ThreadID *string `json:"threadID,omitempty" xml:"threadID,omitempty"` }
func (*Aps) SetCategory ¶
func (*Aps) SetContentAvailable ¶
func (*Aps) SetInterruptionLevel ¶
func (*Aps) SetThreadID ¶ added in v1.0.6
type Body ¶
type Body struct { Activity *string `json:"activity,omitempty" xml:"activity,omitempty"` AddBadge *int32 `json:"addBadge,omitempty" xml:"addBadge,omitempty"` AfterOpen *string `json:"afterOpen,omitempty" xml:"afterOpen,omitempty"` BuilderId *int64 `json:"builderId,omitempty" xml:"builderId,omitempty"` Custom *string `json:"custom,omitempty" xml:"custom,omitempty"` ExpandImage *string `json:"expandImage,omitempty" xml:"expandImage,omitempty"` Icon *string `json:"icon,omitempty" xml:"icon,omitempty"` Img *string `json:"img,omitempty" xml:"img,omitempty"` PlayLights *bool `json:"playLights,omitempty" xml:"playLights,omitempty"` PlaySound *bool `json:"playSound,omitempty" xml:"playSound,omitempty"` PlayVibrate *bool `json:"playVibrate,omitempty" xml:"playVibrate,omitempty"` RePop *int32 `json:"rePop,omitempty" xml:"rePop,omitempty"` SetBadge *int32 `json:"setBadge,omitempty" xml:"setBadge,omitempty"` Sound *string `json:"sound,omitempty" xml:"sound,omitempty"` Text *string `json:"text,omitempty" xml:"text,omitempty"` Title *string `json:"title,omitempty" xml:"title,omitempty"` Url *string `json:"url,omitempty" xml:"url,omitempty"` }
func (*Body) SetActivity ¶
func (*Body) SetAddBadge ¶ added in v1.0.4
func (*Body) SetAfterOpen ¶
func (*Body) SetBuilderId ¶
func (*Body) SetExpandImage ¶
func (*Body) SetPlayLights ¶
func (*Body) SetPlaySound ¶
func (*Body) SetPlayVibrate ¶
func (*Body) SetSetBadge ¶ added in v1.0.4
type CancelByMsgIdRequest ¶ added in v1.0.2
type CancelByMsgIdRequest struct { // example: // // ucj0242167047014687101 MsgId *string `json:"MsgId,omitempty" xml:"MsgId,omitempty"` }
func (CancelByMsgIdRequest) GoString ¶ added in v1.0.2
func (s CancelByMsgIdRequest) GoString() string
func (*CancelByMsgIdRequest) SetMsgId ¶ added in v1.0.2
func (s *CancelByMsgIdRequest) SetMsgId(v string) *CancelByMsgIdRequest
func (CancelByMsgIdRequest) String ¶ added in v1.0.2
func (s CancelByMsgIdRequest) String() string
type CancelByMsgIdResponse ¶ added in v1.0.2
type CancelByMsgIdResponse struct { Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty"` Body *CancelByMsgIdResponseBody `json:"body,omitempty" xml:"body,omitempty"` }
func (CancelByMsgIdResponse) GoString ¶ added in v1.0.2
func (s CancelByMsgIdResponse) GoString() string
func (*CancelByMsgIdResponse) SetBody ¶ added in v1.0.2
func (s *CancelByMsgIdResponse) SetBody(v *CancelByMsgIdResponseBody) *CancelByMsgIdResponse
func (*CancelByMsgIdResponse) SetHeaders ¶ added in v1.0.2
func (s *CancelByMsgIdResponse) SetHeaders(v map[string]*string) *CancelByMsgIdResponse
func (*CancelByMsgIdResponse) SetStatusCode ¶ added in v1.0.2
func (s *CancelByMsgIdResponse) SetStatusCode(v int32) *CancelByMsgIdResponse
func (CancelByMsgIdResponse) String ¶ added in v1.0.2
func (s CancelByMsgIdResponse) String() string
type CancelByMsgIdResponseBody ¶ added in v1.0.2
type CancelByMsgIdResponseBody struct { // example: // // 0 Code *string `json:"Code,omitempty" xml:"Code,omitempty"` Data *CancelByMsgIdResponseBodyData `json:"Data,omitempty" xml:"Data,omitempty" type:"Struct"` // example: // // 200 HttpStatusCode *int32 `json:"HttpStatusCode,omitempty" xml:"HttpStatusCode,omitempty"` // example: // // null Message *string `json:"Message,omitempty" xml:"Message,omitempty"` // example: // // 86C4236B-D6C2-1E31-8370-2FAEC5CFE012 RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"` // example: // // true Success *bool `json:"Success,omitempty" xml:"Success,omitempty"` }
func (CancelByMsgIdResponseBody) GoString ¶ added in v1.0.2
func (s CancelByMsgIdResponseBody) GoString() string
func (*CancelByMsgIdResponseBody) SetCode ¶ added in v1.0.2
func (s *CancelByMsgIdResponseBody) SetCode(v string) *CancelByMsgIdResponseBody
func (*CancelByMsgIdResponseBody) SetData ¶ added in v1.0.2
func (s *CancelByMsgIdResponseBody) SetData(v *CancelByMsgIdResponseBodyData) *CancelByMsgIdResponseBody
func (*CancelByMsgIdResponseBody) SetHttpStatusCode ¶ added in v1.0.2
func (s *CancelByMsgIdResponseBody) SetHttpStatusCode(v int32) *CancelByMsgIdResponseBody
func (*CancelByMsgIdResponseBody) SetMessage ¶ added in v1.0.2
func (s *CancelByMsgIdResponseBody) SetMessage(v string) *CancelByMsgIdResponseBody
func (*CancelByMsgIdResponseBody) SetRequestId ¶ added in v1.0.2
func (s *CancelByMsgIdResponseBody) SetRequestId(v string) *CancelByMsgIdResponseBody
func (*CancelByMsgIdResponseBody) SetSuccess ¶ added in v1.0.2
func (s *CancelByMsgIdResponseBody) SetSuccess(v bool) *CancelByMsgIdResponseBody
func (CancelByMsgIdResponseBody) String ¶ added in v1.0.2
func (s CancelByMsgIdResponseBody) String() string
type CancelByMsgIdResponseBodyData ¶ added in v1.0.2
type CancelByMsgIdResponseBodyData struct { // example: // // ucj0242167047014687101 MsgId *string `json:"MsgId,omitempty" xml:"MsgId,omitempty"` }
func (CancelByMsgIdResponseBodyData) GoString ¶ added in v1.0.2
func (s CancelByMsgIdResponseBodyData) GoString() string
func (*CancelByMsgIdResponseBodyData) SetMsgId ¶ added in v1.0.2
func (s *CancelByMsgIdResponseBodyData) SetMsgId(v string) *CancelByMsgIdResponseBodyData
func (CancelByMsgIdResponseBodyData) String ¶ added in v1.0.2
func (s CancelByMsgIdResponseBodyData) String() string
type ChannelProperties ¶
type ChannelProperties struct { ChannelActivity *string `json:"channelActivity,omitempty" xml:"channelActivity,omitempty"` ChannelFcm *string `json:"channelFcm,omitempty" xml:"channelFcm,omitempty"` HuaweiChannelCategory *string `json:"huaweiChannelCategory,omitempty" xml:"huaweiChannelCategory,omitempty"` HuaweiChannelImportance *string `json:"huaweiChannelImportance,omitempty" xml:"huaweiChannelImportance,omitempty"` MainActivity *string `json:"mainActivity,omitempty" xml:"mainActivity,omitempty"` OppoChannelId *string `json:"oppoChannelId,omitempty" xml:"oppoChannelId,omitempty"` // example: // // "true",默认"false" VivoAddBadge *string `json:"vivoAddBadge,omitempty" xml:"vivoAddBadge,omitempty"` VivoCategory *string `json:"vivoCategory,omitempty" xml:"vivoCategory,omitempty"` XiaomiChannelId *string `json:"xiaomiChannelId,omitempty" xml:"xiaomiChannelId,omitempty"` }
func (ChannelProperties) GoString ¶
func (s ChannelProperties) GoString() string
func (*ChannelProperties) SetChannelActivity ¶
func (s *ChannelProperties) SetChannelActivity(v string) *ChannelProperties
func (*ChannelProperties) SetChannelFcm ¶ added in v1.0.4
func (s *ChannelProperties) SetChannelFcm(v string) *ChannelProperties
func (*ChannelProperties) SetHuaweiChannelCategory ¶ added in v1.0.4
func (s *ChannelProperties) SetHuaweiChannelCategory(v string) *ChannelProperties
func (*ChannelProperties) SetHuaweiChannelImportance ¶ added in v1.0.4
func (s *ChannelProperties) SetHuaweiChannelImportance(v string) *ChannelProperties
func (*ChannelProperties) SetMainActivity ¶
func (s *ChannelProperties) SetMainActivity(v string) *ChannelProperties
func (*ChannelProperties) SetOppoChannelId ¶
func (s *ChannelProperties) SetOppoChannelId(v string) *ChannelProperties
func (*ChannelProperties) SetVivoAddBadge ¶ added in v1.0.8
func (s *ChannelProperties) SetVivoAddBadge(v string) *ChannelProperties
func (*ChannelProperties) SetVivoCategory ¶ added in v1.0.4
func (s *ChannelProperties) SetVivoCategory(v string) *ChannelProperties
func (*ChannelProperties) SetXiaomiChannelId ¶
func (s *ChannelProperties) SetXiaomiChannelId(v string) *ChannelProperties
func (ChannelProperties) String ¶
func (s ChannelProperties) String() string
type Client ¶
func (*Client) CancelByMsgId ¶ added in v1.0.2
func (client *Client) CancelByMsgId(request *CancelByMsgIdRequest) (_result *CancelByMsgIdResponse, _err error)
Summary:
根据消息ID取消发送
@param request - CancelByMsgIdRequest
@return CancelByMsgIdResponse
func (*Client) CancelByMsgIdWithOptions ¶ added in v1.0.2
func (client *Client) CancelByMsgIdWithOptions(request *CancelByMsgIdRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *CancelByMsgIdResponse, _err error)
Summary:
根据消息ID取消发送
@param request - CancelByMsgIdRequest
@param headers - map
@param runtime - runtime options for this request RuntimeOptions
@return CancelByMsgIdResponse
func (*Client) GetEndpoint ¶
func (*Client) QueryMsgStat ¶ added in v1.0.2
func (client *Client) QueryMsgStat(request *QueryMsgStatRequest) (_result *QueryMsgStatResponse, _err error)
Summary:
消息状态查询
@param request - QueryMsgStatRequest
@return QueryMsgStatResponse
func (*Client) QueryMsgStatWithOptions ¶ added in v1.0.2
func (client *Client) QueryMsgStatWithOptions(request *QueryMsgStatRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *QueryMsgStatResponse, _err error)
Summary:
消息状态查询
@param request - QueryMsgStatRequest
@param headers - map
@param runtime - runtime options for this request RuntimeOptions
@return QueryMsgStatResponse
func (*Client) SendByAlias ¶ added in v1.0.2
func (client *Client) SendByAlias(request *SendByAliasRequest) (_result *SendByAliasResponse, _err error)
Summary:
指定别名发送
@param request - SendByAliasRequest
@return SendByAliasResponse
func (*Client) SendByAliasFileId ¶ added in v1.0.2
func (client *Client) SendByAliasFileId(request *SendByAliasFileIdRequest) (_result *SendByAliasFileIdResponse, _err error)
Summary:
指定别名文件发送
@param request - SendByAliasFileIdRequest
@return SendByAliasFileIdResponse
func (*Client) SendByAliasFileIdWithOptions ¶ added in v1.0.2
func (client *Client) SendByAliasFileIdWithOptions(tmpReq *SendByAliasFileIdRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *SendByAliasFileIdResponse, _err error)
Summary:
指定别名文件发送
@param tmpReq - SendByAliasFileIdRequest
@param headers - map
@param runtime - runtime options for this request RuntimeOptions
@return SendByAliasFileIdResponse
func (*Client) SendByAliasWithOptions ¶ added in v1.0.2
func (client *Client) SendByAliasWithOptions(tmpReq *SendByAliasRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *SendByAliasResponse, _err error)
Summary:
指定别名发送
@param tmpReq - SendByAliasRequest
@param headers - map
@param runtime - runtime options for this request RuntimeOptions
@return SendByAliasResponse
func (*Client) SendByApp ¶ added in v1.0.1
func (client *Client) SendByApp(request *SendByAppRequest) (_result *SendByAppResponse, _err error)
Summary:
广播
@param request - SendByAppRequest
@return SendByAppResponse
func (*Client) SendByAppWithOptions ¶ added in v1.0.1
func (client *Client) SendByAppWithOptions(tmpReq *SendByAppRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *SendByAppResponse, _err error)
Summary:
广播
@param tmpReq - SendByAppRequest
@param headers - map
@param runtime - runtime options for this request RuntimeOptions
@return SendByAppResponse
func (*Client) SendByDevice ¶
func (client *Client) SendByDevice(request *SendByDeviceRequest) (_result *SendByDeviceResponse, _err error)
Summary:
指定设备发送
@param request - SendByDeviceRequest
@return SendByDeviceResponse
func (*Client) SendByDeviceFileId ¶ added in v1.0.2
func (client *Client) SendByDeviceFileId(request *SendByDeviceFileIdRequest) (_result *SendByDeviceFileIdResponse, _err error)
Summary:
指定设备文件发送
@param request - SendByDeviceFileIdRequest
@return SendByDeviceFileIdResponse
func (*Client) SendByDeviceFileIdWithOptions ¶ added in v1.0.2
func (client *Client) SendByDeviceFileIdWithOptions(tmpReq *SendByDeviceFileIdRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *SendByDeviceFileIdResponse, _err error)
Summary:
指定设备文件发送
@param tmpReq - SendByDeviceFileIdRequest
@param headers - map
@param runtime - runtime options for this request RuntimeOptions
@return SendByDeviceFileIdResponse
func (*Client) SendByDeviceWithOptions ¶
func (client *Client) SendByDeviceWithOptions(tmpReq *SendByDeviceRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *SendByDeviceResponse, _err error)
Summary:
指定设备发送
@param tmpReq - SendByDeviceRequest
@param headers - map
@param runtime - runtime options for this request RuntimeOptions
@return SendByDeviceResponse
func (*Client) SendByFilter ¶ added in v1.0.2
func (client *Client) SendByFilter(request *SendByFilterRequest) (_result *SendByFilterResponse, _err error)
Summary:
根据筛选条件发送
@param request - SendByFilterRequest
@return SendByFilterResponse
func (*Client) SendByFilterWithOptions ¶ added in v1.0.2
func (client *Client) SendByFilterWithOptions(tmpReq *SendByFilterRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *SendByFilterResponse, _err error)
Summary:
根据筛选条件发送
@param tmpReq - SendByFilterRequest
@param headers - map
@param runtime - runtime options for this request RuntimeOptions
@return SendByFilterResponse
func (*Client) UploadDevice ¶ added in v1.0.2
func (client *Client) UploadDevice(request *UploadDeviceRequest) (_result *UploadDeviceResponse, _err error)
Summary:
上传设备列表创建设备文件
@param request - UploadDeviceRequest
@return UploadDeviceResponse
func (*Client) UploadDeviceWithOptions ¶ added in v1.0.2
func (client *Client) UploadDeviceWithOptions(request *UploadDeviceRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *UploadDeviceResponse, _err error)
Summary:
上传设备列表创建设备文件
@param request - UploadDeviceRequest
@param headers - map
@param runtime - runtime options for this request RuntimeOptions
@return UploadDeviceResponse
type IosPayload ¶
type IosPayload struct { Aps *Aps `json:"aps,omitempty" xml:"aps,omitempty"` Extra map[string]interface{} `json:"extra,omitempty" xml:"extra,omitempty"` }
func (IosPayload) GoString ¶
func (s IosPayload) GoString() string
func (*IosPayload) SetAps ¶
func (s *IosPayload) SetAps(v *Aps) *IosPayload
func (*IosPayload) SetExtra ¶
func (s *IosPayload) SetExtra(v map[string]interface{}) *IosPayload
func (IosPayload) String ¶
func (s IosPayload) String() string
type Policy ¶
type Policy struct { // example: // // yyyy-MM-dd HH:mm:ss ExpireTime *string `json:"expireTime,omitempty" xml:"expireTime,omitempty"` OuterBizNo *string `json:"outerBizNo,omitempty" xml:"outerBizNo,omitempty"` // example: // // 5000 Speed *int32 `json:"speed,omitempty" xml:"speed,omitempty"` // example: // // yyyy-MM-dd HH:mm:ss StartTime *string `json:"startTime,omitempty" xml:"startTime,omitempty"` }
func (*Policy) SetExpireTime ¶
func (*Policy) SetOuterBizNo ¶
func (*Policy) SetStartTime ¶
type QueryMsgStatRequest ¶ added in v1.0.2
type QueryMsgStatRequest struct { // example: // // ufe29y2167046828041801 MsgId *string `json:"MsgId,omitempty" xml:"MsgId,omitempty"` }
func (QueryMsgStatRequest) GoString ¶ added in v1.0.2
func (s QueryMsgStatRequest) GoString() string
func (*QueryMsgStatRequest) SetMsgId ¶ added in v1.0.2
func (s *QueryMsgStatRequest) SetMsgId(v string) *QueryMsgStatRequest
func (QueryMsgStatRequest) String ¶ added in v1.0.2
func (s QueryMsgStatRequest) String() string
type QueryMsgStatResponse ¶ added in v1.0.2
type QueryMsgStatResponse struct { Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty"` Body *QueryMsgStatResponseBody `json:"body,omitempty" xml:"body,omitempty"` }
func (QueryMsgStatResponse) GoString ¶ added in v1.0.2
func (s QueryMsgStatResponse) GoString() string
func (*QueryMsgStatResponse) SetBody ¶ added in v1.0.2
func (s *QueryMsgStatResponse) SetBody(v *QueryMsgStatResponseBody) *QueryMsgStatResponse
func (*QueryMsgStatResponse) SetHeaders ¶ added in v1.0.2
func (s *QueryMsgStatResponse) SetHeaders(v map[string]*string) *QueryMsgStatResponse
func (*QueryMsgStatResponse) SetStatusCode ¶ added in v1.0.2
func (s *QueryMsgStatResponse) SetStatusCode(v int32) *QueryMsgStatResponse
func (QueryMsgStatResponse) String ¶ added in v1.0.2
func (s QueryMsgStatResponse) String() string
type QueryMsgStatResponseBody ¶ added in v1.0.2
type QueryMsgStatResponseBody struct { // example: // // 0 Code *string `json:"Code,omitempty" xml:"Code,omitempty"` Data *QueryMsgStatResponseBodyData `json:"Data,omitempty" xml:"Data,omitempty" type:"Struct"` // example: // // 200 HttpStatusCode *int32 `json:"HttpStatusCode,omitempty" xml:"HttpStatusCode,omitempty"` // example: // // null Message *string `json:"Message,omitempty" xml:"Message,omitempty"` // example: // // 86C4236B-D6C2-1E31-8370-2FAEC5CFE012 RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"` // example: // // true Success *bool `json:"Success,omitempty" xml:"Success,omitempty"` }
func (QueryMsgStatResponseBody) GoString ¶ added in v1.0.2
func (s QueryMsgStatResponseBody) GoString() string
func (*QueryMsgStatResponseBody) SetCode ¶ added in v1.0.2
func (s *QueryMsgStatResponseBody) SetCode(v string) *QueryMsgStatResponseBody
func (*QueryMsgStatResponseBody) SetData ¶ added in v1.0.2
func (s *QueryMsgStatResponseBody) SetData(v *QueryMsgStatResponseBodyData) *QueryMsgStatResponseBody
func (*QueryMsgStatResponseBody) SetHttpStatusCode ¶ added in v1.0.2
func (s *QueryMsgStatResponseBody) SetHttpStatusCode(v int32) *QueryMsgStatResponseBody
func (*QueryMsgStatResponseBody) SetMessage ¶ added in v1.0.2
func (s *QueryMsgStatResponseBody) SetMessage(v string) *QueryMsgStatResponseBody
func (*QueryMsgStatResponseBody) SetRequestId ¶ added in v1.0.2
func (s *QueryMsgStatResponseBody) SetRequestId(v string) *QueryMsgStatResponseBody
func (*QueryMsgStatResponseBody) SetSuccess ¶ added in v1.0.2
func (s *QueryMsgStatResponseBody) SetSuccess(v bool) *QueryMsgStatResponseBody
func (QueryMsgStatResponseBody) String ¶ added in v1.0.2
func (s QueryMsgStatResponseBody) String() string
type QueryMsgStatResponseBodyData ¶ added in v1.0.2
type QueryMsgStatResponseBodyData struct { // example: // // 1 Accept *int64 `json:"Accept,omitempty" xml:"Accept,omitempty"` // example: // // 1 Arrive *int64 `json:"Arrive,omitempty" xml:"Arrive,omitempty"` // example: // // 0 ClosePush *int64 `json:"ClosePush,omitempty" xml:"ClosePush,omitempty"` // example: // // 0 Dismiss *int64 `json:"Dismiss,omitempty" xml:"Dismiss,omitempty"` // example: // // ufe29y2167046828041801 MsgId *string `json:"MsgId,omitempty" xml:"MsgId,omitempty"` // example: // // 1 Open *int64 `json:"Open,omitempty" xml:"Open,omitempty"` // example: // // 1 Sent *int64 `json:"Sent,omitempty" xml:"Sent,omitempty"` // example: // // 2 Status *int32 `json:"Status,omitempty" xml:"Status,omitempty"` }
func (QueryMsgStatResponseBodyData) GoString ¶ added in v1.0.2
func (s QueryMsgStatResponseBodyData) GoString() string
func (*QueryMsgStatResponseBodyData) SetAccept ¶ added in v1.0.2
func (s *QueryMsgStatResponseBodyData) SetAccept(v int64) *QueryMsgStatResponseBodyData
func (*QueryMsgStatResponseBodyData) SetArrive ¶ added in v1.0.2
func (s *QueryMsgStatResponseBodyData) SetArrive(v int64) *QueryMsgStatResponseBodyData
func (*QueryMsgStatResponseBodyData) SetClosePush ¶ added in v1.0.2
func (s *QueryMsgStatResponseBodyData) SetClosePush(v int64) *QueryMsgStatResponseBodyData
func (*QueryMsgStatResponseBodyData) SetDismiss ¶ added in v1.0.2
func (s *QueryMsgStatResponseBodyData) SetDismiss(v int64) *QueryMsgStatResponseBodyData
func (*QueryMsgStatResponseBodyData) SetMsgId ¶ added in v1.0.2
func (s *QueryMsgStatResponseBodyData) SetMsgId(v string) *QueryMsgStatResponseBodyData
func (*QueryMsgStatResponseBodyData) SetOpen ¶ added in v1.0.2
func (s *QueryMsgStatResponseBodyData) SetOpen(v int64) *QueryMsgStatResponseBodyData
func (*QueryMsgStatResponseBodyData) SetSent ¶ added in v1.0.2
func (s *QueryMsgStatResponseBodyData) SetSent(v int64) *QueryMsgStatResponseBodyData
func (*QueryMsgStatResponseBodyData) SetStatus ¶ added in v1.0.2
func (s *QueryMsgStatResponseBodyData) SetStatus(v int32) *QueryMsgStatResponseBodyData
func (QueryMsgStatResponseBodyData) String ¶ added in v1.0.2
func (s QueryMsgStatResponseBodyData) String() string
type SendByAliasFileIdRequest ¶ added in v1.0.2
type SendByAliasFileIdRequest struct { AliasType *string `json:"AliasType,omitempty" xml:"AliasType,omitempty"` AndroidPayload *AndroidPayload `json:"AndroidPayload,omitempty" xml:"AndroidPayload,omitempty"` ChannelProperties *ChannelProperties `json:"ChannelProperties,omitempty" xml:"ChannelProperties,omitempty"` Description *string `json:"Description,omitempty" xml:"Description,omitempty"` // This parameter is required. // // example: // // PF835431668603208261 FileId *string `json:"FileId,omitempty" xml:"FileId,omitempty"` IosPayload *IosPayload `json:"IosPayload,omitempty" xml:"IosPayload,omitempty"` Policy *Policy `json:"Policy,omitempty" xml:"Policy,omitempty"` // example: // // true ProductionMode *bool `json:"ProductionMode,omitempty" xml:"ProductionMode,omitempty"` ReceiptType *int32 `json:"ReceiptType,omitempty" xml:"ReceiptType,omitempty"` // example: // // https://msg.umeng.com/upush/receipt ReceiptUrl *string `json:"ReceiptUrl,omitempty" xml:"ReceiptUrl,omitempty"` ThirdPartyId *string `json:"ThirdPartyId,omitempty" xml:"ThirdPartyId,omitempty"` }
func (SendByAliasFileIdRequest) GoString ¶ added in v1.0.2
func (s SendByAliasFileIdRequest) GoString() string
func (*SendByAliasFileIdRequest) SetAliasType ¶ added in v1.0.2
func (s *SendByAliasFileIdRequest) SetAliasType(v string) *SendByAliasFileIdRequest
func (*SendByAliasFileIdRequest) SetAndroidPayload ¶ added in v1.0.2
func (s *SendByAliasFileIdRequest) SetAndroidPayload(v *AndroidPayload) *SendByAliasFileIdRequest
func (*SendByAliasFileIdRequest) SetChannelProperties ¶ added in v1.0.2
func (s *SendByAliasFileIdRequest) SetChannelProperties(v *ChannelProperties) *SendByAliasFileIdRequest
func (*SendByAliasFileIdRequest) SetDescription ¶ added in v1.0.2
func (s *SendByAliasFileIdRequest) SetDescription(v string) *SendByAliasFileIdRequest
func (*SendByAliasFileIdRequest) SetFileId ¶ added in v1.0.2
func (s *SendByAliasFileIdRequest) SetFileId(v string) *SendByAliasFileIdRequest
func (*SendByAliasFileIdRequest) SetIosPayload ¶ added in v1.0.2
func (s *SendByAliasFileIdRequest) SetIosPayload(v *IosPayload) *SendByAliasFileIdRequest
func (*SendByAliasFileIdRequest) SetPolicy ¶ added in v1.0.2
func (s *SendByAliasFileIdRequest) SetPolicy(v *Policy) *SendByAliasFileIdRequest
func (*SendByAliasFileIdRequest) SetProductionMode ¶ added in v1.0.2
func (s *SendByAliasFileIdRequest) SetProductionMode(v bool) *SendByAliasFileIdRequest
func (*SendByAliasFileIdRequest) SetReceiptType ¶ added in v1.0.2
func (s *SendByAliasFileIdRequest) SetReceiptType(v int32) *SendByAliasFileIdRequest
func (*SendByAliasFileIdRequest) SetReceiptUrl ¶ added in v1.0.2
func (s *SendByAliasFileIdRequest) SetReceiptUrl(v string) *SendByAliasFileIdRequest
func (*SendByAliasFileIdRequest) SetThirdPartyId ¶ added in v1.0.7
func (s *SendByAliasFileIdRequest) SetThirdPartyId(v string) *SendByAliasFileIdRequest
func (SendByAliasFileIdRequest) String ¶ added in v1.0.2
func (s SendByAliasFileIdRequest) String() string
type SendByAliasFileIdResponse ¶ added in v1.0.2
type SendByAliasFileIdResponse struct { Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty"` Body *SendByAliasFileIdResponseBody `json:"body,omitempty" xml:"body,omitempty"` }
func (SendByAliasFileIdResponse) GoString ¶ added in v1.0.2
func (s SendByAliasFileIdResponse) GoString() string
func (*SendByAliasFileIdResponse) SetBody ¶ added in v1.0.2
func (s *SendByAliasFileIdResponse) SetBody(v *SendByAliasFileIdResponseBody) *SendByAliasFileIdResponse
func (*SendByAliasFileIdResponse) SetHeaders ¶ added in v1.0.2
func (s *SendByAliasFileIdResponse) SetHeaders(v map[string]*string) *SendByAliasFileIdResponse
func (*SendByAliasFileIdResponse) SetStatusCode ¶ added in v1.0.2
func (s *SendByAliasFileIdResponse) SetStatusCode(v int32) *SendByAliasFileIdResponse
func (SendByAliasFileIdResponse) String ¶ added in v1.0.2
func (s SendByAliasFileIdResponse) String() string
type SendByAliasFileIdResponseBody ¶ added in v1.0.2
type SendByAliasFileIdResponseBody struct { // example: // // 0 Code *string `json:"Code,omitempty" xml:"Code,omitempty"` Data *SendByAliasFileIdResponseBodyData `json:"Data,omitempty" xml:"Data,omitempty" type:"Struct"` // example: // // 200 HttpStatusCode *int32 `json:"HttpStatusCode,omitempty" xml:"HttpStatusCode,omitempty"` // example: // // null Message *string `json:"Message,omitempty" xml:"Message,omitempty"` // example: // // 86C4236B-D6C2-1E31-8370-2FAEC5CFE012 RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"` // example: // // true Success *bool `json:"Success,omitempty" xml:"Success,omitempty"` }
func (SendByAliasFileIdResponseBody) GoString ¶ added in v1.0.2
func (s SendByAliasFileIdResponseBody) GoString() string
func (*SendByAliasFileIdResponseBody) SetCode ¶ added in v1.0.2
func (s *SendByAliasFileIdResponseBody) SetCode(v string) *SendByAliasFileIdResponseBody
func (*SendByAliasFileIdResponseBody) SetData ¶ added in v1.0.2
func (s *SendByAliasFileIdResponseBody) SetData(v *SendByAliasFileIdResponseBodyData) *SendByAliasFileIdResponseBody
func (*SendByAliasFileIdResponseBody) SetHttpStatusCode ¶ added in v1.0.2
func (s *SendByAliasFileIdResponseBody) SetHttpStatusCode(v int32) *SendByAliasFileIdResponseBody
func (*SendByAliasFileIdResponseBody) SetMessage ¶ added in v1.0.2
func (s *SendByAliasFileIdResponseBody) SetMessage(v string) *SendByAliasFileIdResponseBody
func (*SendByAliasFileIdResponseBody) SetRequestId ¶ added in v1.0.2
func (s *SendByAliasFileIdResponseBody) SetRequestId(v string) *SendByAliasFileIdResponseBody
func (*SendByAliasFileIdResponseBody) SetSuccess ¶ added in v1.0.2
func (s *SendByAliasFileIdResponseBody) SetSuccess(v bool) *SendByAliasFileIdResponseBody
func (SendByAliasFileIdResponseBody) String ¶ added in v1.0.2
func (s SendByAliasFileIdResponseBody) String() string
type SendByAliasFileIdResponseBodyData ¶ added in v1.0.2
type SendByAliasFileIdResponseBodyData struct { // example: // // ucj0242167047014687101 MsgId *string `json:"MsgId,omitempty" xml:"MsgId,omitempty"` }
func (SendByAliasFileIdResponseBodyData) GoString ¶ added in v1.0.2
func (s SendByAliasFileIdResponseBodyData) GoString() string
func (*SendByAliasFileIdResponseBodyData) SetMsgId ¶ added in v1.0.2
func (s *SendByAliasFileIdResponseBodyData) SetMsgId(v string) *SendByAliasFileIdResponseBodyData
func (SendByAliasFileIdResponseBodyData) String ¶ added in v1.0.2
func (s SendByAliasFileIdResponseBodyData) String() string
type SendByAliasFileIdShrinkRequest ¶ added in v1.0.2
type SendByAliasFileIdShrinkRequest struct { AliasType *string `json:"AliasType,omitempty" xml:"AliasType,omitempty"` AndroidPayloadShrink *string `json:"AndroidPayload,omitempty" xml:"AndroidPayload,omitempty"` ChannelPropertiesShrink *string `json:"ChannelProperties,omitempty" xml:"ChannelProperties,omitempty"` Description *string `json:"Description,omitempty" xml:"Description,omitempty"` // This parameter is required. // // example: // // PF835431668603208261 FileId *string `json:"FileId,omitempty" xml:"FileId,omitempty"` IosPayloadShrink *string `json:"IosPayload,omitempty" xml:"IosPayload,omitempty"` PolicyShrink *string `json:"Policy,omitempty" xml:"Policy,omitempty"` // example: // // true ProductionMode *bool `json:"ProductionMode,omitempty" xml:"ProductionMode,omitempty"` ReceiptType *int32 `json:"ReceiptType,omitempty" xml:"ReceiptType,omitempty"` // example: // // https://msg.umeng.com/upush/receipt ReceiptUrl *string `json:"ReceiptUrl,omitempty" xml:"ReceiptUrl,omitempty"` ThirdPartyId *string `json:"ThirdPartyId,omitempty" xml:"ThirdPartyId,omitempty"` }
func (SendByAliasFileIdShrinkRequest) GoString ¶ added in v1.0.2
func (s SendByAliasFileIdShrinkRequest) GoString() string
func (*SendByAliasFileIdShrinkRequest) SetAliasType ¶ added in v1.0.2
func (s *SendByAliasFileIdShrinkRequest) SetAliasType(v string) *SendByAliasFileIdShrinkRequest
func (*SendByAliasFileIdShrinkRequest) SetAndroidPayloadShrink ¶ added in v1.0.2
func (s *SendByAliasFileIdShrinkRequest) SetAndroidPayloadShrink(v string) *SendByAliasFileIdShrinkRequest
func (*SendByAliasFileIdShrinkRequest) SetChannelPropertiesShrink ¶ added in v1.0.2
func (s *SendByAliasFileIdShrinkRequest) SetChannelPropertiesShrink(v string) *SendByAliasFileIdShrinkRequest
func (*SendByAliasFileIdShrinkRequest) SetDescription ¶ added in v1.0.2
func (s *SendByAliasFileIdShrinkRequest) SetDescription(v string) *SendByAliasFileIdShrinkRequest
func (*SendByAliasFileIdShrinkRequest) SetFileId ¶ added in v1.0.2
func (s *SendByAliasFileIdShrinkRequest) SetFileId(v string) *SendByAliasFileIdShrinkRequest
func (*SendByAliasFileIdShrinkRequest) SetIosPayloadShrink ¶ added in v1.0.2
func (s *SendByAliasFileIdShrinkRequest) SetIosPayloadShrink(v string) *SendByAliasFileIdShrinkRequest
func (*SendByAliasFileIdShrinkRequest) SetPolicyShrink ¶ added in v1.0.2
func (s *SendByAliasFileIdShrinkRequest) SetPolicyShrink(v string) *SendByAliasFileIdShrinkRequest
func (*SendByAliasFileIdShrinkRequest) SetProductionMode ¶ added in v1.0.2
func (s *SendByAliasFileIdShrinkRequest) SetProductionMode(v bool) *SendByAliasFileIdShrinkRequest
func (*SendByAliasFileIdShrinkRequest) SetReceiptType ¶ added in v1.0.2
func (s *SendByAliasFileIdShrinkRequest) SetReceiptType(v int32) *SendByAliasFileIdShrinkRequest
func (*SendByAliasFileIdShrinkRequest) SetReceiptUrl ¶ added in v1.0.2
func (s *SendByAliasFileIdShrinkRequest) SetReceiptUrl(v string) *SendByAliasFileIdShrinkRequest
func (*SendByAliasFileIdShrinkRequest) SetThirdPartyId ¶ added in v1.0.7
func (s *SendByAliasFileIdShrinkRequest) SetThirdPartyId(v string) *SendByAliasFileIdShrinkRequest
func (SendByAliasFileIdShrinkRequest) String ¶ added in v1.0.2
func (s SendByAliasFileIdShrinkRequest) String() string
type SendByAliasRequest ¶ added in v1.0.2
type SendByAliasRequest struct { // This parameter is required. // // example: // // test Alias *string `json:"Alias,omitempty" xml:"Alias,omitempty"` AliasType *string `json:"AliasType,omitempty" xml:"AliasType,omitempty"` AndroidPayload *AndroidPayload `json:"AndroidPayload,omitempty" xml:"AndroidPayload,omitempty"` ChannelProperties *ChannelProperties `json:"ChannelProperties,omitempty" xml:"ChannelProperties,omitempty"` Description *string `json:"Description,omitempty" xml:"Description,omitempty"` IosPayload *IosPayload `json:"IosPayload,omitempty" xml:"IosPayload,omitempty"` Policy *Policy `json:"Policy,omitempty" xml:"Policy,omitempty"` // example: // // true ProductionMode *bool `json:"ProductionMode,omitempty" xml:"ProductionMode,omitempty"` ReceiptType *int32 `json:"ReceiptType,omitempty" xml:"ReceiptType,omitempty"` // example: // // https://msg.umeng.com/upush/receipt ReceiptUrl *string `json:"ReceiptUrl,omitempty" xml:"ReceiptUrl,omitempty"` ThirdPartyId *string `json:"ThirdPartyId,omitempty" xml:"ThirdPartyId,omitempty"` }
func (SendByAliasRequest) GoString ¶ added in v1.0.2
func (s SendByAliasRequest) GoString() string
func (*SendByAliasRequest) SetAlias ¶ added in v1.0.2
func (s *SendByAliasRequest) SetAlias(v string) *SendByAliasRequest
func (*SendByAliasRequest) SetAliasType ¶ added in v1.0.2
func (s *SendByAliasRequest) SetAliasType(v string) *SendByAliasRequest
func (*SendByAliasRequest) SetAndroidPayload ¶ added in v1.0.2
func (s *SendByAliasRequest) SetAndroidPayload(v *AndroidPayload) *SendByAliasRequest
func (*SendByAliasRequest) SetChannelProperties ¶ added in v1.0.2
func (s *SendByAliasRequest) SetChannelProperties(v *ChannelProperties) *SendByAliasRequest
func (*SendByAliasRequest) SetDescription ¶ added in v1.0.2
func (s *SendByAliasRequest) SetDescription(v string) *SendByAliasRequest
func (*SendByAliasRequest) SetIosPayload ¶ added in v1.0.2
func (s *SendByAliasRequest) SetIosPayload(v *IosPayload) *SendByAliasRequest
func (*SendByAliasRequest) SetPolicy ¶ added in v1.0.2
func (s *SendByAliasRequest) SetPolicy(v *Policy) *SendByAliasRequest
func (*SendByAliasRequest) SetProductionMode ¶ added in v1.0.2
func (s *SendByAliasRequest) SetProductionMode(v bool) *SendByAliasRequest
func (*SendByAliasRequest) SetReceiptType ¶ added in v1.0.2
func (s *SendByAliasRequest) SetReceiptType(v int32) *SendByAliasRequest
func (*SendByAliasRequest) SetReceiptUrl ¶ added in v1.0.2
func (s *SendByAliasRequest) SetReceiptUrl(v string) *SendByAliasRequest
func (*SendByAliasRequest) SetThirdPartyId ¶ added in v1.0.6
func (s *SendByAliasRequest) SetThirdPartyId(v string) *SendByAliasRequest
func (SendByAliasRequest) String ¶ added in v1.0.2
func (s SendByAliasRequest) String() string
type SendByAliasResponse ¶ added in v1.0.2
type SendByAliasResponse struct { Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty"` Body *SendByAliasResponseBody `json:"body,omitempty" xml:"body,omitempty"` }
func (SendByAliasResponse) GoString ¶ added in v1.0.2
func (s SendByAliasResponse) GoString() string
func (*SendByAliasResponse) SetBody ¶ added in v1.0.2
func (s *SendByAliasResponse) SetBody(v *SendByAliasResponseBody) *SendByAliasResponse
func (*SendByAliasResponse) SetHeaders ¶ added in v1.0.2
func (s *SendByAliasResponse) SetHeaders(v map[string]*string) *SendByAliasResponse
func (*SendByAliasResponse) SetStatusCode ¶ added in v1.0.2
func (s *SendByAliasResponse) SetStatusCode(v int32) *SendByAliasResponse
func (SendByAliasResponse) String ¶ added in v1.0.2
func (s SendByAliasResponse) String() string
type SendByAliasResponseBody ¶ added in v1.0.2
type SendByAliasResponseBody struct { // example: // // 0 Code *string `json:"Code,omitempty" xml:"Code,omitempty"` Data *SendByAliasResponseBodyData `json:"Data,omitempty" xml:"Data,omitempty" type:"Struct"` // example: // // 200 HttpStatusCode *int32 `json:"HttpStatusCode,omitempty" xml:"HttpStatusCode,omitempty"` // example: // // null Message *string `json:"Message,omitempty" xml:"Message,omitempty"` // example: // // 86C4236B-D6C2-1E31-8370-2FAEC5CFE012 RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"` // example: // // true Success *bool `json:"Success,omitempty" xml:"Success,omitempty"` }
func (SendByAliasResponseBody) GoString ¶ added in v1.0.2
func (s SendByAliasResponseBody) GoString() string
func (*SendByAliasResponseBody) SetCode ¶ added in v1.0.2
func (s *SendByAliasResponseBody) SetCode(v string) *SendByAliasResponseBody
func (*SendByAliasResponseBody) SetData ¶ added in v1.0.2
func (s *SendByAliasResponseBody) SetData(v *SendByAliasResponseBodyData) *SendByAliasResponseBody
func (*SendByAliasResponseBody) SetHttpStatusCode ¶ added in v1.0.2
func (s *SendByAliasResponseBody) SetHttpStatusCode(v int32) *SendByAliasResponseBody
func (*SendByAliasResponseBody) SetMessage ¶ added in v1.0.2
func (s *SendByAliasResponseBody) SetMessage(v string) *SendByAliasResponseBody
func (*SendByAliasResponseBody) SetRequestId ¶ added in v1.0.2
func (s *SendByAliasResponseBody) SetRequestId(v string) *SendByAliasResponseBody
func (*SendByAliasResponseBody) SetSuccess ¶ added in v1.0.2
func (s *SendByAliasResponseBody) SetSuccess(v bool) *SendByAliasResponseBody
func (SendByAliasResponseBody) String ¶ added in v1.0.2
func (s SendByAliasResponseBody) String() string
type SendByAliasResponseBodyData ¶ added in v1.0.2
type SendByAliasResponseBodyData struct { // example: // // uacxo27167041814609201 MsgId *string `json:"MsgId,omitempty" xml:"MsgId,omitempty"` }
func (SendByAliasResponseBodyData) GoString ¶ added in v1.0.2
func (s SendByAliasResponseBodyData) GoString() string
func (*SendByAliasResponseBodyData) SetMsgId ¶ added in v1.0.2
func (s *SendByAliasResponseBodyData) SetMsgId(v string) *SendByAliasResponseBodyData
func (SendByAliasResponseBodyData) String ¶ added in v1.0.2
func (s SendByAliasResponseBodyData) String() string
type SendByAliasShrinkRequest ¶ added in v1.0.2
type SendByAliasShrinkRequest struct { // This parameter is required. // // example: // // test Alias *string `json:"Alias,omitempty" xml:"Alias,omitempty"` AliasType *string `json:"AliasType,omitempty" xml:"AliasType,omitempty"` AndroidPayloadShrink *string `json:"AndroidPayload,omitempty" xml:"AndroidPayload,omitempty"` ChannelPropertiesShrink *string `json:"ChannelProperties,omitempty" xml:"ChannelProperties,omitempty"` Description *string `json:"Description,omitempty" xml:"Description,omitempty"` IosPayloadShrink *string `json:"IosPayload,omitempty" xml:"IosPayload,omitempty"` PolicyShrink *string `json:"Policy,omitempty" xml:"Policy,omitempty"` // example: // // true ProductionMode *bool `json:"ProductionMode,omitempty" xml:"ProductionMode,omitempty"` ReceiptType *int32 `json:"ReceiptType,omitempty" xml:"ReceiptType,omitempty"` // example: // // https://msg.umeng.com/upush/receipt ReceiptUrl *string `json:"ReceiptUrl,omitempty" xml:"ReceiptUrl,omitempty"` ThirdPartyId *string `json:"ThirdPartyId,omitempty" xml:"ThirdPartyId,omitempty"` }
func (SendByAliasShrinkRequest) GoString ¶ added in v1.0.2
func (s SendByAliasShrinkRequest) GoString() string
func (*SendByAliasShrinkRequest) SetAlias ¶ added in v1.0.2
func (s *SendByAliasShrinkRequest) SetAlias(v string) *SendByAliasShrinkRequest
func (*SendByAliasShrinkRequest) SetAliasType ¶ added in v1.0.2
func (s *SendByAliasShrinkRequest) SetAliasType(v string) *SendByAliasShrinkRequest
func (*SendByAliasShrinkRequest) SetAndroidPayloadShrink ¶ added in v1.0.2
func (s *SendByAliasShrinkRequest) SetAndroidPayloadShrink(v string) *SendByAliasShrinkRequest
func (*SendByAliasShrinkRequest) SetChannelPropertiesShrink ¶ added in v1.0.2
func (s *SendByAliasShrinkRequest) SetChannelPropertiesShrink(v string) *SendByAliasShrinkRequest
func (*SendByAliasShrinkRequest) SetDescription ¶ added in v1.0.2
func (s *SendByAliasShrinkRequest) SetDescription(v string) *SendByAliasShrinkRequest
func (*SendByAliasShrinkRequest) SetIosPayloadShrink ¶ added in v1.0.2
func (s *SendByAliasShrinkRequest) SetIosPayloadShrink(v string) *SendByAliasShrinkRequest
func (*SendByAliasShrinkRequest) SetPolicyShrink ¶ added in v1.0.2
func (s *SendByAliasShrinkRequest) SetPolicyShrink(v string) *SendByAliasShrinkRequest
func (*SendByAliasShrinkRequest) SetProductionMode ¶ added in v1.0.2
func (s *SendByAliasShrinkRequest) SetProductionMode(v bool) *SendByAliasShrinkRequest
func (*SendByAliasShrinkRequest) SetReceiptType ¶ added in v1.0.2
func (s *SendByAliasShrinkRequest) SetReceiptType(v int32) *SendByAliasShrinkRequest
func (*SendByAliasShrinkRequest) SetReceiptUrl ¶ added in v1.0.2
func (s *SendByAliasShrinkRequest) SetReceiptUrl(v string) *SendByAliasShrinkRequest
func (*SendByAliasShrinkRequest) SetThirdPartyId ¶ added in v1.0.6
func (s *SendByAliasShrinkRequest) SetThirdPartyId(v string) *SendByAliasShrinkRequest
func (SendByAliasShrinkRequest) String ¶ added in v1.0.2
func (s SendByAliasShrinkRequest) String() string
type SendByAppRequest ¶ added in v1.0.1
type SendByAppRequest struct { AndroidPayload *AndroidPayload `json:"AndroidPayload,omitempty" xml:"AndroidPayload,omitempty"` ChannelProperties *ChannelProperties `json:"ChannelProperties,omitempty" xml:"ChannelProperties,omitempty"` Description *string `json:"Description,omitempty" xml:"Description,omitempty"` IosPayload *IosPayload `json:"IosPayload,omitempty" xml:"IosPayload,omitempty"` Policy *Policy `json:"Policy,omitempty" xml:"Policy,omitempty"` // example: // // true ProductionMode *bool `json:"ProductionMode,omitempty" xml:"ProductionMode,omitempty"` ReceiptType *int32 `json:"ReceiptType,omitempty" xml:"ReceiptType,omitempty"` // example: // // https://msg.umeng.com/upush/receipt ReceiptUrl *string `json:"ReceiptUrl,omitempty" xml:"ReceiptUrl,omitempty"` ThirdPartyId *string `json:"ThirdPartyId,omitempty" xml:"ThirdPartyId,omitempty"` }
func (SendByAppRequest) GoString ¶ added in v1.0.1
func (s SendByAppRequest) GoString() string
func (*SendByAppRequest) SetAndroidPayload ¶ added in v1.0.1
func (s *SendByAppRequest) SetAndroidPayload(v *AndroidPayload) *SendByAppRequest
func (*SendByAppRequest) SetChannelProperties ¶ added in v1.0.1
func (s *SendByAppRequest) SetChannelProperties(v *ChannelProperties) *SendByAppRequest
func (*SendByAppRequest) SetDescription ¶ added in v1.0.1
func (s *SendByAppRequest) SetDescription(v string) *SendByAppRequest
func (*SendByAppRequest) SetIosPayload ¶ added in v1.0.1
func (s *SendByAppRequest) SetIosPayload(v *IosPayload) *SendByAppRequest
func (*SendByAppRequest) SetPolicy ¶ added in v1.0.1
func (s *SendByAppRequest) SetPolicy(v *Policy) *SendByAppRequest
func (*SendByAppRequest) SetProductionMode ¶ added in v1.0.1
func (s *SendByAppRequest) SetProductionMode(v bool) *SendByAppRequest
func (*SendByAppRequest) SetReceiptType ¶ added in v1.0.1
func (s *SendByAppRequest) SetReceiptType(v int32) *SendByAppRequest
func (*SendByAppRequest) SetReceiptUrl ¶ added in v1.0.1
func (s *SendByAppRequest) SetReceiptUrl(v string) *SendByAppRequest
func (*SendByAppRequest) SetThirdPartyId ¶ added in v1.0.7
func (s *SendByAppRequest) SetThirdPartyId(v string) *SendByAppRequest
func (SendByAppRequest) String ¶ added in v1.0.1
func (s SendByAppRequest) String() string
type SendByAppResponse ¶ added in v1.0.1
type SendByAppResponse struct { Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty"` Body *SendByAppResponseBody `json:"body,omitempty" xml:"body,omitempty"` }
func (SendByAppResponse) GoString ¶ added in v1.0.1
func (s SendByAppResponse) GoString() string
func (*SendByAppResponse) SetBody ¶ added in v1.0.1
func (s *SendByAppResponse) SetBody(v *SendByAppResponseBody) *SendByAppResponse
func (*SendByAppResponse) SetHeaders ¶ added in v1.0.1
func (s *SendByAppResponse) SetHeaders(v map[string]*string) *SendByAppResponse
func (*SendByAppResponse) SetStatusCode ¶ added in v1.0.1
func (s *SendByAppResponse) SetStatusCode(v int32) *SendByAppResponse
func (SendByAppResponse) String ¶ added in v1.0.1
func (s SendByAppResponse) String() string
type SendByAppResponseBody ¶ added in v1.0.1
type SendByAppResponseBody struct { // example: // // 0 Code *string `json:"Code,omitempty" xml:"Code,omitempty"` Data *SendByAppResponseBodyData `json:"Data,omitempty" xml:"Data,omitempty" type:"Struct"` // example: // // 200 HttpStatusCode *int32 `json:"HttpStatusCode,omitempty" xml:"HttpStatusCode,omitempty"` // example: // // success Message *string `json:"Message,omitempty" xml:"Message,omitempty"` // example: // // 86C4236B-D6C2-1E31-8370-2FAEC5CFE012 RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"` // example: // // true Success *bool `json:"Success,omitempty" xml:"Success,omitempty"` }
func (SendByAppResponseBody) GoString ¶ added in v1.0.1
func (s SendByAppResponseBody) GoString() string
func (*SendByAppResponseBody) SetCode ¶ added in v1.0.1
func (s *SendByAppResponseBody) SetCode(v string) *SendByAppResponseBody
func (*SendByAppResponseBody) SetData ¶ added in v1.0.1
func (s *SendByAppResponseBody) SetData(v *SendByAppResponseBodyData) *SendByAppResponseBody
func (*SendByAppResponseBody) SetHttpStatusCode ¶ added in v1.0.1
func (s *SendByAppResponseBody) SetHttpStatusCode(v int32) *SendByAppResponseBody
func (*SendByAppResponseBody) SetMessage ¶ added in v1.0.1
func (s *SendByAppResponseBody) SetMessage(v string) *SendByAppResponseBody
func (*SendByAppResponseBody) SetRequestId ¶ added in v1.0.1
func (s *SendByAppResponseBody) SetRequestId(v string) *SendByAppResponseBody
func (*SendByAppResponseBody) SetSuccess ¶ added in v1.0.1
func (s *SendByAppResponseBody) SetSuccess(v bool) *SendByAppResponseBody
func (SendByAppResponseBody) String ¶ added in v1.0.1
func (s SendByAppResponseBody) String() string
type SendByAppResponseBodyData ¶ added in v1.0.1
type SendByAppResponseBodyData struct { // example: // // um3zlgb166876370784300 MsgId *string `json:"MsgId,omitempty" xml:"MsgId,omitempty"` }
func (SendByAppResponseBodyData) GoString ¶ added in v1.0.1
func (s SendByAppResponseBodyData) GoString() string
func (*SendByAppResponseBodyData) SetMsgId ¶ added in v1.0.1
func (s *SendByAppResponseBodyData) SetMsgId(v string) *SendByAppResponseBodyData
func (SendByAppResponseBodyData) String ¶ added in v1.0.1
func (s SendByAppResponseBodyData) String() string
type SendByAppShrinkRequest ¶ added in v1.0.1
type SendByAppShrinkRequest struct { AndroidPayloadShrink *string `json:"AndroidPayload,omitempty" xml:"AndroidPayload,omitempty"` ChannelPropertiesShrink *string `json:"ChannelProperties,omitempty" xml:"ChannelProperties,omitempty"` Description *string `json:"Description,omitempty" xml:"Description,omitempty"` IosPayloadShrink *string `json:"IosPayload,omitempty" xml:"IosPayload,omitempty"` PolicyShrink *string `json:"Policy,omitempty" xml:"Policy,omitempty"` // example: // // true ProductionMode *bool `json:"ProductionMode,omitempty" xml:"ProductionMode,omitempty"` ReceiptType *int32 `json:"ReceiptType,omitempty" xml:"ReceiptType,omitempty"` // example: // // https://msg.umeng.com/upush/receipt ReceiptUrl *string `json:"ReceiptUrl,omitempty" xml:"ReceiptUrl,omitempty"` ThirdPartyId *string `json:"ThirdPartyId,omitempty" xml:"ThirdPartyId,omitempty"` }
func (SendByAppShrinkRequest) GoString ¶ added in v1.0.1
func (s SendByAppShrinkRequest) GoString() string
func (*SendByAppShrinkRequest) SetAndroidPayloadShrink ¶ added in v1.0.1
func (s *SendByAppShrinkRequest) SetAndroidPayloadShrink(v string) *SendByAppShrinkRequest
func (*SendByAppShrinkRequest) SetChannelPropertiesShrink ¶ added in v1.0.1
func (s *SendByAppShrinkRequest) SetChannelPropertiesShrink(v string) *SendByAppShrinkRequest
func (*SendByAppShrinkRequest) SetDescription ¶ added in v1.0.1
func (s *SendByAppShrinkRequest) SetDescription(v string) *SendByAppShrinkRequest
func (*SendByAppShrinkRequest) SetIosPayloadShrink ¶ added in v1.0.1
func (s *SendByAppShrinkRequest) SetIosPayloadShrink(v string) *SendByAppShrinkRequest
func (*SendByAppShrinkRequest) SetPolicyShrink ¶ added in v1.0.1
func (s *SendByAppShrinkRequest) SetPolicyShrink(v string) *SendByAppShrinkRequest
func (*SendByAppShrinkRequest) SetProductionMode ¶ added in v1.0.1
func (s *SendByAppShrinkRequest) SetProductionMode(v bool) *SendByAppShrinkRequest
func (*SendByAppShrinkRequest) SetReceiptType ¶ added in v1.0.1
func (s *SendByAppShrinkRequest) SetReceiptType(v int32) *SendByAppShrinkRequest
func (*SendByAppShrinkRequest) SetReceiptUrl ¶ added in v1.0.1
func (s *SendByAppShrinkRequest) SetReceiptUrl(v string) *SendByAppShrinkRequest
func (*SendByAppShrinkRequest) SetThirdPartyId ¶ added in v1.0.7
func (s *SendByAppShrinkRequest) SetThirdPartyId(v string) *SendByAppShrinkRequest
func (SendByAppShrinkRequest) String ¶ added in v1.0.1
func (s SendByAppShrinkRequest) String() string
type SendByDeviceFileIdRequest ¶ added in v1.0.2
type SendByDeviceFileIdRequest struct { AndroidPayload *AndroidPayload `json:"AndroidPayload,omitempty" xml:"AndroidPayload,omitempty"` ChannelProperties *ChannelProperties `json:"ChannelProperties,omitempty" xml:"ChannelProperties,omitempty"` Description *string `json:"Description,omitempty" xml:"Description,omitempty"` // This parameter is required. // // example: // // PF835431668603208261 FileId *string `json:"FileId,omitempty" xml:"FileId,omitempty"` IosPayload *IosPayload `json:"IosPayload,omitempty" xml:"IosPayload,omitempty"` Policy *Policy `json:"Policy,omitempty" xml:"Policy,omitempty"` // example: // // true ProductionMode *bool `json:"ProductionMode,omitempty" xml:"ProductionMode,omitempty"` ReceiptType *int32 `json:"ReceiptType,omitempty" xml:"ReceiptType,omitempty"` // example: // // https://msg.umeng.com/upush/receipt ReceiptUrl *string `json:"ReceiptUrl,omitempty" xml:"ReceiptUrl,omitempty"` ThirdPartyId *string `json:"ThirdPartyId,omitempty" xml:"ThirdPartyId,omitempty"` }
func (SendByDeviceFileIdRequest) GoString ¶ added in v1.0.2
func (s SendByDeviceFileIdRequest) GoString() string
func (*SendByDeviceFileIdRequest) SetAndroidPayload ¶ added in v1.0.2
func (s *SendByDeviceFileIdRequest) SetAndroidPayload(v *AndroidPayload) *SendByDeviceFileIdRequest
func (*SendByDeviceFileIdRequest) SetChannelProperties ¶ added in v1.0.2
func (s *SendByDeviceFileIdRequest) SetChannelProperties(v *ChannelProperties) *SendByDeviceFileIdRequest
func (*SendByDeviceFileIdRequest) SetDescription ¶ added in v1.0.2
func (s *SendByDeviceFileIdRequest) SetDescription(v string) *SendByDeviceFileIdRequest
func (*SendByDeviceFileIdRequest) SetFileId ¶ added in v1.0.2
func (s *SendByDeviceFileIdRequest) SetFileId(v string) *SendByDeviceFileIdRequest
func (*SendByDeviceFileIdRequest) SetIosPayload ¶ added in v1.0.2
func (s *SendByDeviceFileIdRequest) SetIosPayload(v *IosPayload) *SendByDeviceFileIdRequest
func (*SendByDeviceFileIdRequest) SetPolicy ¶ added in v1.0.2
func (s *SendByDeviceFileIdRequest) SetPolicy(v *Policy) *SendByDeviceFileIdRequest
func (*SendByDeviceFileIdRequest) SetProductionMode ¶ added in v1.0.2
func (s *SendByDeviceFileIdRequest) SetProductionMode(v bool) *SendByDeviceFileIdRequest
func (*SendByDeviceFileIdRequest) SetReceiptType ¶ added in v1.0.2
func (s *SendByDeviceFileIdRequest) SetReceiptType(v int32) *SendByDeviceFileIdRequest
func (*SendByDeviceFileIdRequest) SetReceiptUrl ¶ added in v1.0.2
func (s *SendByDeviceFileIdRequest) SetReceiptUrl(v string) *SendByDeviceFileIdRequest
func (*SendByDeviceFileIdRequest) SetThirdPartyId ¶ added in v1.0.7
func (s *SendByDeviceFileIdRequest) SetThirdPartyId(v string) *SendByDeviceFileIdRequest
func (SendByDeviceFileIdRequest) String ¶ added in v1.0.2
func (s SendByDeviceFileIdRequest) String() string
type SendByDeviceFileIdResponse ¶ added in v1.0.2
type SendByDeviceFileIdResponse struct { Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty"` Body *SendByDeviceFileIdResponseBody `json:"body,omitempty" xml:"body,omitempty"` }
func (SendByDeviceFileIdResponse) GoString ¶ added in v1.0.2
func (s SendByDeviceFileIdResponse) GoString() string
func (*SendByDeviceFileIdResponse) SetBody ¶ added in v1.0.2
func (s *SendByDeviceFileIdResponse) SetBody(v *SendByDeviceFileIdResponseBody) *SendByDeviceFileIdResponse
func (*SendByDeviceFileIdResponse) SetHeaders ¶ added in v1.0.2
func (s *SendByDeviceFileIdResponse) SetHeaders(v map[string]*string) *SendByDeviceFileIdResponse
func (*SendByDeviceFileIdResponse) SetStatusCode ¶ added in v1.0.2
func (s *SendByDeviceFileIdResponse) SetStatusCode(v int32) *SendByDeviceFileIdResponse
func (SendByDeviceFileIdResponse) String ¶ added in v1.0.2
func (s SendByDeviceFileIdResponse) String() string
type SendByDeviceFileIdResponseBody ¶ added in v1.0.2
type SendByDeviceFileIdResponseBody struct { // example: // // 0 Code *string `json:"Code,omitempty" xml:"Code,omitempty"` Data *SendByDeviceFileIdResponseBodyData `json:"Data,omitempty" xml:"Data,omitempty" type:"Struct"` // example: // // 200 HttpStatusCode *int32 `json:"HttpStatusCode,omitempty" xml:"HttpStatusCode,omitempty"` // example: // // null Message *string `json:"Message,omitempty" xml:"Message,omitempty"` // example: // // 86C4236B-D6C2-1E31-8370-2FAEC5CFE012 RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"` // example: // // true Success *bool `json:"Success,omitempty" xml:"Success,omitempty"` }
func (SendByDeviceFileIdResponseBody) GoString ¶ added in v1.0.2
func (s SendByDeviceFileIdResponseBody) GoString() string
func (*SendByDeviceFileIdResponseBody) SetCode ¶ added in v1.0.2
func (s *SendByDeviceFileIdResponseBody) SetCode(v string) *SendByDeviceFileIdResponseBody
func (*SendByDeviceFileIdResponseBody) SetData ¶ added in v1.0.2
func (s *SendByDeviceFileIdResponseBody) SetData(v *SendByDeviceFileIdResponseBodyData) *SendByDeviceFileIdResponseBody
func (*SendByDeviceFileIdResponseBody) SetHttpStatusCode ¶ added in v1.0.2
func (s *SendByDeviceFileIdResponseBody) SetHttpStatusCode(v int32) *SendByDeviceFileIdResponseBody
func (*SendByDeviceFileIdResponseBody) SetMessage ¶ added in v1.0.2
func (s *SendByDeviceFileIdResponseBody) SetMessage(v string) *SendByDeviceFileIdResponseBody
func (*SendByDeviceFileIdResponseBody) SetRequestId ¶ added in v1.0.2
func (s *SendByDeviceFileIdResponseBody) SetRequestId(v string) *SendByDeviceFileIdResponseBody
func (*SendByDeviceFileIdResponseBody) SetSuccess ¶ added in v1.0.2
func (s *SendByDeviceFileIdResponseBody) SetSuccess(v bool) *SendByDeviceFileIdResponseBody
func (SendByDeviceFileIdResponseBody) String ¶ added in v1.0.2
func (s SendByDeviceFileIdResponseBody) String() string
type SendByDeviceFileIdResponseBodyData ¶ added in v1.0.2
type SendByDeviceFileIdResponseBodyData struct { // example: // // ufe29y2167046828041801 MsgId *string `json:"MsgId,omitempty" xml:"MsgId,omitempty"` }
func (SendByDeviceFileIdResponseBodyData) GoString ¶ added in v1.0.2
func (s SendByDeviceFileIdResponseBodyData) GoString() string
func (*SendByDeviceFileIdResponseBodyData) SetMsgId ¶ added in v1.0.2
func (s *SendByDeviceFileIdResponseBodyData) SetMsgId(v string) *SendByDeviceFileIdResponseBodyData
func (SendByDeviceFileIdResponseBodyData) String ¶ added in v1.0.2
func (s SendByDeviceFileIdResponseBodyData) String() string
type SendByDeviceFileIdShrinkRequest ¶ added in v1.0.2
type SendByDeviceFileIdShrinkRequest struct { AndroidPayloadShrink *string `json:"AndroidPayload,omitempty" xml:"AndroidPayload,omitempty"` ChannelPropertiesShrink *string `json:"ChannelProperties,omitempty" xml:"ChannelProperties,omitempty"` Description *string `json:"Description,omitempty" xml:"Description,omitempty"` // This parameter is required. // // example: // // PF835431668603208261 FileId *string `json:"FileId,omitempty" xml:"FileId,omitempty"` IosPayloadShrink *string `json:"IosPayload,omitempty" xml:"IosPayload,omitempty"` PolicyShrink *string `json:"Policy,omitempty" xml:"Policy,omitempty"` // example: // // true ProductionMode *bool `json:"ProductionMode,omitempty" xml:"ProductionMode,omitempty"` ReceiptType *int32 `json:"ReceiptType,omitempty" xml:"ReceiptType,omitempty"` // example: // // https://msg.umeng.com/upush/receipt ReceiptUrl *string `json:"ReceiptUrl,omitempty" xml:"ReceiptUrl,omitempty"` ThirdPartyId *string `json:"ThirdPartyId,omitempty" xml:"ThirdPartyId,omitempty"` }
func (SendByDeviceFileIdShrinkRequest) GoString ¶ added in v1.0.2
func (s SendByDeviceFileIdShrinkRequest) GoString() string
func (*SendByDeviceFileIdShrinkRequest) SetAndroidPayloadShrink ¶ added in v1.0.2
func (s *SendByDeviceFileIdShrinkRequest) SetAndroidPayloadShrink(v string) *SendByDeviceFileIdShrinkRequest
func (*SendByDeviceFileIdShrinkRequest) SetChannelPropertiesShrink ¶ added in v1.0.2
func (s *SendByDeviceFileIdShrinkRequest) SetChannelPropertiesShrink(v string) *SendByDeviceFileIdShrinkRequest
func (*SendByDeviceFileIdShrinkRequest) SetDescription ¶ added in v1.0.2
func (s *SendByDeviceFileIdShrinkRequest) SetDescription(v string) *SendByDeviceFileIdShrinkRequest
func (*SendByDeviceFileIdShrinkRequest) SetFileId ¶ added in v1.0.2
func (s *SendByDeviceFileIdShrinkRequest) SetFileId(v string) *SendByDeviceFileIdShrinkRequest
func (*SendByDeviceFileIdShrinkRequest) SetIosPayloadShrink ¶ added in v1.0.2
func (s *SendByDeviceFileIdShrinkRequest) SetIosPayloadShrink(v string) *SendByDeviceFileIdShrinkRequest
func (*SendByDeviceFileIdShrinkRequest) SetPolicyShrink ¶ added in v1.0.2
func (s *SendByDeviceFileIdShrinkRequest) SetPolicyShrink(v string) *SendByDeviceFileIdShrinkRequest
func (*SendByDeviceFileIdShrinkRequest) SetProductionMode ¶ added in v1.0.2
func (s *SendByDeviceFileIdShrinkRequest) SetProductionMode(v bool) *SendByDeviceFileIdShrinkRequest
func (*SendByDeviceFileIdShrinkRequest) SetReceiptType ¶ added in v1.0.2
func (s *SendByDeviceFileIdShrinkRequest) SetReceiptType(v int32) *SendByDeviceFileIdShrinkRequest
func (*SendByDeviceFileIdShrinkRequest) SetReceiptUrl ¶ added in v1.0.2
func (s *SendByDeviceFileIdShrinkRequest) SetReceiptUrl(v string) *SendByDeviceFileIdShrinkRequest
func (*SendByDeviceFileIdShrinkRequest) SetThirdPartyId ¶ added in v1.0.7
func (s *SendByDeviceFileIdShrinkRequest) SetThirdPartyId(v string) *SendByDeviceFileIdShrinkRequest
func (SendByDeviceFileIdShrinkRequest) String ¶ added in v1.0.2
func (s SendByDeviceFileIdShrinkRequest) String() string
type SendByDeviceRequest ¶
type SendByDeviceRequest struct { AndroidPayload *AndroidPayload `json:"AndroidPayload,omitempty" xml:"AndroidPayload,omitempty"` ChannelProperties *ChannelProperties `json:"ChannelProperties,omitempty" xml:"ChannelProperties,omitempty"` Description *string `json:"Description,omitempty" xml:"Description,omitempty"` // This parameter is required. // // example: // // ArdNyIzFCH2K3szXA8arpu0Y7ywOdA67mCSumtpnMnmf DeviceTokens *string `json:"DeviceTokens,omitempty" xml:"DeviceTokens,omitempty"` IosPayload *IosPayload `json:"IosPayload,omitempty" xml:"IosPayload,omitempty"` Policy *Policy `json:"Policy,omitempty" xml:"Policy,omitempty"` // example: // // true ProductionMode *bool `json:"ProductionMode,omitempty" xml:"ProductionMode,omitempty"` ReceiptType *int32 `json:"ReceiptType,omitempty" xml:"ReceiptType,omitempty"` // example: // // https://msg.umeng.com/upush/receipt ReceiptUrl *string `json:"ReceiptUrl,omitempty" xml:"ReceiptUrl,omitempty"` ThirdPartyId *string `json:"ThirdPartyId,omitempty" xml:"ThirdPartyId,omitempty"` }
func (SendByDeviceRequest) GoString ¶
func (s SendByDeviceRequest) GoString() string
func (*SendByDeviceRequest) SetAndroidPayload ¶
func (s *SendByDeviceRequest) SetAndroidPayload(v *AndroidPayload) *SendByDeviceRequest
func (*SendByDeviceRequest) SetChannelProperties ¶
func (s *SendByDeviceRequest) SetChannelProperties(v *ChannelProperties) *SendByDeviceRequest
func (*SendByDeviceRequest) SetDescription ¶
func (s *SendByDeviceRequest) SetDescription(v string) *SendByDeviceRequest
func (*SendByDeviceRequest) SetDeviceTokens ¶
func (s *SendByDeviceRequest) SetDeviceTokens(v string) *SendByDeviceRequest
func (*SendByDeviceRequest) SetIosPayload ¶
func (s *SendByDeviceRequest) SetIosPayload(v *IosPayload) *SendByDeviceRequest
func (*SendByDeviceRequest) SetPolicy ¶
func (s *SendByDeviceRequest) SetPolicy(v *Policy) *SendByDeviceRequest
func (*SendByDeviceRequest) SetProductionMode ¶
func (s *SendByDeviceRequest) SetProductionMode(v bool) *SendByDeviceRequest
func (*SendByDeviceRequest) SetReceiptType ¶
func (s *SendByDeviceRequest) SetReceiptType(v int32) *SendByDeviceRequest
func (*SendByDeviceRequest) SetReceiptUrl ¶
func (s *SendByDeviceRequest) SetReceiptUrl(v string) *SendByDeviceRequest
func (*SendByDeviceRequest) SetThirdPartyId ¶ added in v1.0.6
func (s *SendByDeviceRequest) SetThirdPartyId(v string) *SendByDeviceRequest
func (SendByDeviceRequest) String ¶
func (s SendByDeviceRequest) String() string
type SendByDeviceResponse ¶
type SendByDeviceResponse struct { Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty"` Body *SendByDeviceResponseBody `json:"body,omitempty" xml:"body,omitempty"` }
func (SendByDeviceResponse) GoString ¶
func (s SendByDeviceResponse) GoString() string
func (*SendByDeviceResponse) SetBody ¶
func (s *SendByDeviceResponse) SetBody(v *SendByDeviceResponseBody) *SendByDeviceResponse
func (*SendByDeviceResponse) SetHeaders ¶
func (s *SendByDeviceResponse) SetHeaders(v map[string]*string) *SendByDeviceResponse
func (*SendByDeviceResponse) SetStatusCode ¶
func (s *SendByDeviceResponse) SetStatusCode(v int32) *SendByDeviceResponse
func (SendByDeviceResponse) String ¶
func (s SendByDeviceResponse) String() string
type SendByDeviceResponseBody ¶
type SendByDeviceResponseBody struct { // example: // // 0 Code *string `json:"Code,omitempty" xml:"Code,omitempty"` Data *SendByDeviceResponseBodyData `json:"Data,omitempty" xml:"Data,omitempty" type:"Struct"` // example: // // 200 HttpStatusCode *int32 `json:"HttpStatusCode,omitempty" xml:"HttpStatusCode,omitempty"` // example: // // 内部错误 Message *string `json:"Message,omitempty" xml:"Message,omitempty"` // example: // // 74808AA4-A044-102F-8F5F-AFE4D97A0F26 RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"` // example: // // true Success *bool `json:"Success,omitempty" xml:"Success,omitempty"` }
func (SendByDeviceResponseBody) GoString ¶
func (s SendByDeviceResponseBody) GoString() string
func (*SendByDeviceResponseBody) SetCode ¶
func (s *SendByDeviceResponseBody) SetCode(v string) *SendByDeviceResponseBody
func (*SendByDeviceResponseBody) SetData ¶
func (s *SendByDeviceResponseBody) SetData(v *SendByDeviceResponseBodyData) *SendByDeviceResponseBody
func (*SendByDeviceResponseBody) SetHttpStatusCode ¶
func (s *SendByDeviceResponseBody) SetHttpStatusCode(v int32) *SendByDeviceResponseBody
func (*SendByDeviceResponseBody) SetMessage ¶
func (s *SendByDeviceResponseBody) SetMessage(v string) *SendByDeviceResponseBody
func (*SendByDeviceResponseBody) SetRequestId ¶
func (s *SendByDeviceResponseBody) SetRequestId(v string) *SendByDeviceResponseBody
func (*SendByDeviceResponseBody) SetSuccess ¶
func (s *SendByDeviceResponseBody) SetSuccess(v bool) *SendByDeviceResponseBody
func (SendByDeviceResponseBody) String ¶
func (s SendByDeviceResponseBody) String() string
type SendByDeviceResponseBodyData ¶
type SendByDeviceResponseBodyData struct { // example: // // ula4wbu166876119986400 MsgId *string `json:"MsgId,omitempty" xml:"MsgId,omitempty"` }
func (SendByDeviceResponseBodyData) GoString ¶
func (s SendByDeviceResponseBodyData) GoString() string
func (*SendByDeviceResponseBodyData) SetMsgId ¶
func (s *SendByDeviceResponseBodyData) SetMsgId(v string) *SendByDeviceResponseBodyData
func (SendByDeviceResponseBodyData) String ¶
func (s SendByDeviceResponseBodyData) String() string
type SendByDeviceShrinkRequest ¶
type SendByDeviceShrinkRequest struct { AndroidPayloadShrink *string `json:"AndroidPayload,omitempty" xml:"AndroidPayload,omitempty"` ChannelPropertiesShrink *string `json:"ChannelProperties,omitempty" xml:"ChannelProperties,omitempty"` Description *string `json:"Description,omitempty" xml:"Description,omitempty"` // This parameter is required. // // example: // // ArdNyIzFCH2K3szXA8arpu0Y7ywOdA67mCSumtpnMnmf DeviceTokens *string `json:"DeviceTokens,omitempty" xml:"DeviceTokens,omitempty"` IosPayloadShrink *string `json:"IosPayload,omitempty" xml:"IosPayload,omitempty"` PolicyShrink *string `json:"Policy,omitempty" xml:"Policy,omitempty"` // example: // // true ProductionMode *bool `json:"ProductionMode,omitempty" xml:"ProductionMode,omitempty"` ReceiptType *int32 `json:"ReceiptType,omitempty" xml:"ReceiptType,omitempty"` // example: // // https://msg.umeng.com/upush/receipt ReceiptUrl *string `json:"ReceiptUrl,omitempty" xml:"ReceiptUrl,omitempty"` ThirdPartyId *string `json:"ThirdPartyId,omitempty" xml:"ThirdPartyId,omitempty"` }
func (SendByDeviceShrinkRequest) GoString ¶
func (s SendByDeviceShrinkRequest) GoString() string
func (*SendByDeviceShrinkRequest) SetAndroidPayloadShrink ¶
func (s *SendByDeviceShrinkRequest) SetAndroidPayloadShrink(v string) *SendByDeviceShrinkRequest
func (*SendByDeviceShrinkRequest) SetChannelPropertiesShrink ¶
func (s *SendByDeviceShrinkRequest) SetChannelPropertiesShrink(v string) *SendByDeviceShrinkRequest
func (*SendByDeviceShrinkRequest) SetDescription ¶
func (s *SendByDeviceShrinkRequest) SetDescription(v string) *SendByDeviceShrinkRequest
func (*SendByDeviceShrinkRequest) SetDeviceTokens ¶
func (s *SendByDeviceShrinkRequest) SetDeviceTokens(v string) *SendByDeviceShrinkRequest
func (*SendByDeviceShrinkRequest) SetIosPayloadShrink ¶
func (s *SendByDeviceShrinkRequest) SetIosPayloadShrink(v string) *SendByDeviceShrinkRequest
func (*SendByDeviceShrinkRequest) SetPolicyShrink ¶
func (s *SendByDeviceShrinkRequest) SetPolicyShrink(v string) *SendByDeviceShrinkRequest
func (*SendByDeviceShrinkRequest) SetProductionMode ¶
func (s *SendByDeviceShrinkRequest) SetProductionMode(v bool) *SendByDeviceShrinkRequest
func (*SendByDeviceShrinkRequest) SetReceiptType ¶
func (s *SendByDeviceShrinkRequest) SetReceiptType(v int32) *SendByDeviceShrinkRequest
func (*SendByDeviceShrinkRequest) SetReceiptUrl ¶
func (s *SendByDeviceShrinkRequest) SetReceiptUrl(v string) *SendByDeviceShrinkRequest
func (*SendByDeviceShrinkRequest) SetThirdPartyId ¶ added in v1.0.6
func (s *SendByDeviceShrinkRequest) SetThirdPartyId(v string) *SendByDeviceShrinkRequest
func (SendByDeviceShrinkRequest) String ¶
func (s SendByDeviceShrinkRequest) String() string
type SendByFilterRequest ¶ added in v1.0.2
type SendByFilterRequest struct { AndroidPayload *AndroidPayload `json:"AndroidPayload,omitempty" xml:"AndroidPayload,omitempty"` ChannelProperties *ChannelProperties `json:"ChannelProperties,omitempty" xml:"ChannelProperties,omitempty"` Description *string `json:"Description,omitempty" xml:"Description,omitempty"` // example: // // "where":{"and":[{"or":[{"app_version":">=1.0"}]}]} Filter *string `json:"Filter,omitempty" xml:"Filter,omitempty"` IosPayload *IosPayload `json:"IosPayload,omitempty" xml:"IosPayload,omitempty"` Policy *Policy `json:"Policy,omitempty" xml:"Policy,omitempty"` // example: // // true ProductionMode *bool `json:"ProductionMode,omitempty" xml:"ProductionMode,omitempty"` ReceiptType *int32 `json:"ReceiptType,omitempty" xml:"ReceiptType,omitempty"` // example: // // https://msg.umeng.com/upush/receipt ReceiptUrl *string `json:"ReceiptUrl,omitempty" xml:"ReceiptUrl,omitempty"` ThirdPartyId *string `json:"ThirdPartyId,omitempty" xml:"ThirdPartyId,omitempty"` }
func (SendByFilterRequest) GoString ¶ added in v1.0.2
func (s SendByFilterRequest) GoString() string
func (*SendByFilterRequest) SetAndroidPayload ¶ added in v1.0.2
func (s *SendByFilterRequest) SetAndroidPayload(v *AndroidPayload) *SendByFilterRequest
func (*SendByFilterRequest) SetChannelProperties ¶ added in v1.0.2
func (s *SendByFilterRequest) SetChannelProperties(v *ChannelProperties) *SendByFilterRequest
func (*SendByFilterRequest) SetDescription ¶ added in v1.0.2
func (s *SendByFilterRequest) SetDescription(v string) *SendByFilterRequest
func (*SendByFilterRequest) SetFilter ¶ added in v1.0.2
func (s *SendByFilterRequest) SetFilter(v string) *SendByFilterRequest
func (*SendByFilterRequest) SetIosPayload ¶ added in v1.0.2
func (s *SendByFilterRequest) SetIosPayload(v *IosPayload) *SendByFilterRequest
func (*SendByFilterRequest) SetPolicy ¶ added in v1.0.2
func (s *SendByFilterRequest) SetPolicy(v *Policy) *SendByFilterRequest
func (*SendByFilterRequest) SetProductionMode ¶ added in v1.0.2
func (s *SendByFilterRequest) SetProductionMode(v bool) *SendByFilterRequest
func (*SendByFilterRequest) SetReceiptType ¶ added in v1.0.2
func (s *SendByFilterRequest) SetReceiptType(v int32) *SendByFilterRequest
func (*SendByFilterRequest) SetReceiptUrl ¶ added in v1.0.2
func (s *SendByFilterRequest) SetReceiptUrl(v string) *SendByFilterRequest
func (*SendByFilterRequest) SetThirdPartyId ¶ added in v1.0.7
func (s *SendByFilterRequest) SetThirdPartyId(v string) *SendByFilterRequest
func (SendByFilterRequest) String ¶ added in v1.0.2
func (s SendByFilterRequest) String() string
type SendByFilterResponse ¶ added in v1.0.2
type SendByFilterResponse struct { Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty"` Body *SendByFilterResponseBody `json:"body,omitempty" xml:"body,omitempty"` }
func (SendByFilterResponse) GoString ¶ added in v1.0.2
func (s SendByFilterResponse) GoString() string
func (*SendByFilterResponse) SetBody ¶ added in v1.0.2
func (s *SendByFilterResponse) SetBody(v *SendByFilterResponseBody) *SendByFilterResponse
func (*SendByFilterResponse) SetHeaders ¶ added in v1.0.2
func (s *SendByFilterResponse) SetHeaders(v map[string]*string) *SendByFilterResponse
func (*SendByFilterResponse) SetStatusCode ¶ added in v1.0.2
func (s *SendByFilterResponse) SetStatusCode(v int32) *SendByFilterResponse
func (SendByFilterResponse) String ¶ added in v1.0.2
func (s SendByFilterResponse) String() string
type SendByFilterResponseBody ¶ added in v1.0.2
type SendByFilterResponseBody struct { // example: // // 0 Code *string `json:"Code,omitempty" xml:"Code,omitempty"` Data *SendByFilterResponseBodyData `json:"Data,omitempty" xml:"Data,omitempty" type:"Struct"` // example: // // 200 HttpStatusCode *int32 `json:"HttpStatusCode,omitempty" xml:"HttpStatusCode,omitempty"` // example: // // null Message *string `json:"Message,omitempty" xml:"Message,omitempty"` // example: // // 86C4236B-D6C2-1E31-8370-2FAEC5CFE012 RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"` // example: // // true Success *bool `json:"Success,omitempty" xml:"Success,omitempty"` }
func (SendByFilterResponseBody) GoString ¶ added in v1.0.2
func (s SendByFilterResponseBody) GoString() string
func (*SendByFilterResponseBody) SetCode ¶ added in v1.0.2
func (s *SendByFilterResponseBody) SetCode(v string) *SendByFilterResponseBody
func (*SendByFilterResponseBody) SetData ¶ added in v1.0.2
func (s *SendByFilterResponseBody) SetData(v *SendByFilterResponseBodyData) *SendByFilterResponseBody
func (*SendByFilterResponseBody) SetHttpStatusCode ¶ added in v1.0.2
func (s *SendByFilterResponseBody) SetHttpStatusCode(v int32) *SendByFilterResponseBody
func (*SendByFilterResponseBody) SetMessage ¶ added in v1.0.2
func (s *SendByFilterResponseBody) SetMessage(v string) *SendByFilterResponseBody
func (*SendByFilterResponseBody) SetRequestId ¶ added in v1.0.2
func (s *SendByFilterResponseBody) SetRequestId(v string) *SendByFilterResponseBody
func (*SendByFilterResponseBody) SetSuccess ¶ added in v1.0.2
func (s *SendByFilterResponseBody) SetSuccess(v bool) *SendByFilterResponseBody
func (SendByFilterResponseBody) String ¶ added in v1.0.2
func (s SendByFilterResponseBody) String() string
type SendByFilterResponseBodyData ¶ added in v1.0.2
type SendByFilterResponseBodyData struct { // example: // // usouag1167056659161101 MsgId *string `json:"MsgId,omitempty" xml:"MsgId,omitempty"` }
func (SendByFilterResponseBodyData) GoString ¶ added in v1.0.2
func (s SendByFilterResponseBodyData) GoString() string
func (*SendByFilterResponseBodyData) SetMsgId ¶ added in v1.0.2
func (s *SendByFilterResponseBodyData) SetMsgId(v string) *SendByFilterResponseBodyData
func (SendByFilterResponseBodyData) String ¶ added in v1.0.2
func (s SendByFilterResponseBodyData) String() string
type SendByFilterShrinkRequest ¶ added in v1.0.2
type SendByFilterShrinkRequest struct { AndroidPayloadShrink *string `json:"AndroidPayload,omitempty" xml:"AndroidPayload,omitempty"` ChannelPropertiesShrink *string `json:"ChannelProperties,omitempty" xml:"ChannelProperties,omitempty"` Description *string `json:"Description,omitempty" xml:"Description,omitempty"` // example: // // "where":{"and":[{"or":[{"app_version":">=1.0"}]}]} Filter *string `json:"Filter,omitempty" xml:"Filter,omitempty"` IosPayloadShrink *string `json:"IosPayload,omitempty" xml:"IosPayload,omitempty"` PolicyShrink *string `json:"Policy,omitempty" xml:"Policy,omitempty"` // example: // // true ProductionMode *bool `json:"ProductionMode,omitempty" xml:"ProductionMode,omitempty"` ReceiptType *int32 `json:"ReceiptType,omitempty" xml:"ReceiptType,omitempty"` // example: // // https://msg.umeng.com/upush/receipt ReceiptUrl *string `json:"ReceiptUrl,omitempty" xml:"ReceiptUrl,omitempty"` ThirdPartyId *string `json:"ThirdPartyId,omitempty" xml:"ThirdPartyId,omitempty"` }
func (SendByFilterShrinkRequest) GoString ¶ added in v1.0.2
func (s SendByFilterShrinkRequest) GoString() string
func (*SendByFilterShrinkRequest) SetAndroidPayloadShrink ¶ added in v1.0.2
func (s *SendByFilterShrinkRequest) SetAndroidPayloadShrink(v string) *SendByFilterShrinkRequest
func (*SendByFilterShrinkRequest) SetChannelPropertiesShrink ¶ added in v1.0.2
func (s *SendByFilterShrinkRequest) SetChannelPropertiesShrink(v string) *SendByFilterShrinkRequest
func (*SendByFilterShrinkRequest) SetDescription ¶ added in v1.0.2
func (s *SendByFilterShrinkRequest) SetDescription(v string) *SendByFilterShrinkRequest
func (*SendByFilterShrinkRequest) SetFilter ¶ added in v1.0.2
func (s *SendByFilterShrinkRequest) SetFilter(v string) *SendByFilterShrinkRequest
func (*SendByFilterShrinkRequest) SetIosPayloadShrink ¶ added in v1.0.2
func (s *SendByFilterShrinkRequest) SetIosPayloadShrink(v string) *SendByFilterShrinkRequest
func (*SendByFilterShrinkRequest) SetPolicyShrink ¶ added in v1.0.2
func (s *SendByFilterShrinkRequest) SetPolicyShrink(v string) *SendByFilterShrinkRequest
func (*SendByFilterShrinkRequest) SetProductionMode ¶ added in v1.0.2
func (s *SendByFilterShrinkRequest) SetProductionMode(v bool) *SendByFilterShrinkRequest
func (*SendByFilterShrinkRequest) SetReceiptType ¶ added in v1.0.2
func (s *SendByFilterShrinkRequest) SetReceiptType(v int32) *SendByFilterShrinkRequest
func (*SendByFilterShrinkRequest) SetReceiptUrl ¶ added in v1.0.2
func (s *SendByFilterShrinkRequest) SetReceiptUrl(v string) *SendByFilterShrinkRequest
func (*SendByFilterShrinkRequest) SetThirdPartyId ¶ added in v1.0.7
func (s *SendByFilterShrinkRequest) SetThirdPartyId(v string) *SendByFilterShrinkRequest
func (SendByFilterShrinkRequest) String ¶ added in v1.0.2
func (s SendByFilterShrinkRequest) String() string
type UploadDeviceRequest ¶ added in v1.0.2
type UploadDeviceRequest struct { // example: // // device_token_1\\ndevice_token_2\\ndevice_token_3\\n... // // alias1\\nalias2\\nalias3\\n... DeviceTokens *string `json:"DeviceTokens,omitempty" xml:"DeviceTokens,omitempty"` }
func (UploadDeviceRequest) GoString ¶ added in v1.0.2
func (s UploadDeviceRequest) GoString() string
func (*UploadDeviceRequest) SetDeviceTokens ¶ added in v1.0.2
func (s *UploadDeviceRequest) SetDeviceTokens(v string) *UploadDeviceRequest
func (UploadDeviceRequest) String ¶ added in v1.0.2
func (s UploadDeviceRequest) String() string
type UploadDeviceResponse ¶ added in v1.0.2
type UploadDeviceResponse struct { Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty"` Body *UploadDeviceResponseBody `json:"body,omitempty" xml:"body,omitempty"` }
func (UploadDeviceResponse) GoString ¶ added in v1.0.2
func (s UploadDeviceResponse) GoString() string
func (*UploadDeviceResponse) SetBody ¶ added in v1.0.2
func (s *UploadDeviceResponse) SetBody(v *UploadDeviceResponseBody) *UploadDeviceResponse
func (*UploadDeviceResponse) SetHeaders ¶ added in v1.0.2
func (s *UploadDeviceResponse) SetHeaders(v map[string]*string) *UploadDeviceResponse
func (*UploadDeviceResponse) SetStatusCode ¶ added in v1.0.2
func (s *UploadDeviceResponse) SetStatusCode(v int32) *UploadDeviceResponse
func (UploadDeviceResponse) String ¶ added in v1.0.2
func (s UploadDeviceResponse) String() string
type UploadDeviceResponseBody ¶ added in v1.0.2
type UploadDeviceResponseBody struct { // example: // // 0 Code *string `json:"Code,omitempty" xml:"Code,omitempty"` Data *UploadDeviceResponseBodyData `json:"Data,omitempty" xml:"Data,omitempty" type:"Struct"` // example: // // 200 HttpStatusCode *int32 `json:"HttpStatusCode,omitempty" xml:"HttpStatusCode,omitempty"` // example: // // null Message *string `json:"Message,omitempty" xml:"Message,omitempty"` // example: // // 86C4236B-D6C2-1E31-8370-2FAEC5CFE012 RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"` // example: // // true Success *bool `json:"Success,omitempty" xml:"Success,omitempty"` }
func (UploadDeviceResponseBody) GoString ¶ added in v1.0.2
func (s UploadDeviceResponseBody) GoString() string
func (*UploadDeviceResponseBody) SetCode ¶ added in v1.0.2
func (s *UploadDeviceResponseBody) SetCode(v string) *UploadDeviceResponseBody
func (*UploadDeviceResponseBody) SetData ¶ added in v1.0.2
func (s *UploadDeviceResponseBody) SetData(v *UploadDeviceResponseBodyData) *UploadDeviceResponseBody
func (*UploadDeviceResponseBody) SetHttpStatusCode ¶ added in v1.0.2
func (s *UploadDeviceResponseBody) SetHttpStatusCode(v int32) *UploadDeviceResponseBody
func (*UploadDeviceResponseBody) SetMessage ¶ added in v1.0.2
func (s *UploadDeviceResponseBody) SetMessage(v string) *UploadDeviceResponseBody
func (*UploadDeviceResponseBody) SetRequestId ¶ added in v1.0.2
func (s *UploadDeviceResponseBody) SetRequestId(v string) *UploadDeviceResponseBody
func (*UploadDeviceResponseBody) SetSuccess ¶ added in v1.0.2
func (s *UploadDeviceResponseBody) SetSuccess(v bool) *UploadDeviceResponseBody
func (UploadDeviceResponseBody) String ¶ added in v1.0.2
func (s UploadDeviceResponseBody) String() string
type UploadDeviceResponseBodyData ¶ added in v1.0.2
type UploadDeviceResponseBodyData struct { // example: // // PF835431668603208261 FileId *string `json:"FileId,omitempty" xml:"FileId,omitempty"` }
func (UploadDeviceResponseBodyData) GoString ¶ added in v1.0.2
func (s UploadDeviceResponseBodyData) GoString() string
func (*UploadDeviceResponseBodyData) SetFileId ¶ added in v1.0.2
func (s *UploadDeviceResponseBodyData) SetFileId(v string) *UploadDeviceResponseBodyData
func (UploadDeviceResponseBodyData) String ¶ added in v1.0.2
func (s UploadDeviceResponseBodyData) String() string