Versions in this module Expand all Collapse all v1 v1.0.0 Oct 19, 2021 Changes in this version + const Apns_Type_Default + const Apns_Type_Mixed + const Apns_Type_Silent + const DefaultServiceName + const DefaultServiceURL + const Gcm_Type_Default + const Gcm_Type_Silent + func GetServiceURLForRegion(region string) (string, error) + func UnmarshalApns(m map[string]json.RawMessage, result interface{}) (err error) + func UnmarshalApnsCertUploadResponse(m map[string]json.RawMessage, result interface{}) (err error) + func UnmarshalAppSettingsObjResponse(m map[string]json.RawMessage, result interface{}) (err error) + func UnmarshalApplicationServerKeyModel(m map[string]json.RawMessage, result interface{}) (err error) + func UnmarshalChromeAppExt(m map[string]json.RawMessage, result interface{}) (err error) + func UnmarshalChromeWeb(m map[string]json.RawMessage, result interface{}) (err error) + func UnmarshalChromeWebPushCredendialsModel(m map[string]json.RawMessage, result interface{}) (err error) + func UnmarshalFirefoxWeb(m map[string]json.RawMessage, result interface{}) (err error) + func UnmarshalFirefoxWebPushCredendialsModel(m map[string]json.RawMessage, result interface{}) (err error) + func UnmarshalGCMCredendialsModel(m map[string]json.RawMessage, result interface{}) (err error) + func UnmarshalGCMCredendialsPublicModel(m map[string]json.RawMessage, result interface{}) (err error) + func UnmarshalGcm(m map[string]json.RawMessage, result interface{}) (err error) + func UnmarshalLights(m map[string]json.RawMessage, result interface{}) (err error) + func UnmarshalMessage(m map[string]json.RawMessage, result interface{}) (err error) + func UnmarshalMessageResponseModel(m map[string]json.RawMessage, result interface{}) (err error) + func UnmarshalMessagesArrayModel(m map[string]json.RawMessage, result interface{}) (err error) + func UnmarshalMessagesList(m map[string]json.RawMessage, result interface{}) (err error) + func UnmarshalSafariCertUploadResponse(m map[string]json.RawMessage, result interface{}) (err error) + func UnmarshalSafariWeb(m map[string]json.RawMessage, result interface{}) (err error) + func UnmarshalSendMessageBody(m map[string]json.RawMessage, result interface{}) (err error) + func UnmarshalSettings(m map[string]json.RawMessage, result interface{}) (err error) + func UnmarshalStyle(m map[string]json.RawMessage, result interface{}) (err error) + func UnmarshalTarget(m map[string]json.RawMessage, result interface{}) (err error) + type Apns struct + ApnsCollapseID *string + ApnsGroupSummaryArg *string + ApnsGroupSummaryArgCount *int64 + ApnsThreadID *string + AttachmentURL *string + Badge *int64 + Category *string + InteractiveCategory *string + IosActionKey *string + LaunchImage *string + LocArgs []string + LocKey *string + Payload interface{} + Sound *string + Subtitle *string + Title *string + TitleLocArgs []string + TitleLocKey *string + Type *string + type ApnsCertUploadResponse struct + Certificate *string + IsSandBox *bool + ValidUntil *string + type AppSettingsObjResponse struct + ApnsConf *string + ChromeWebConf *string + FirefoxWebConf *string + GcmConf *string + SafariWebConf *string + type ApplicationServerKeyModel struct + WebpushServerKey *string + type ChromeAppExt struct + CollapseKey *string + DelayWhileIdle *bool + IconURL *string + Payload *string + TimeToLive *int64 + Title *string + type ChromeWeb struct + IconURL *string + Payload *string + TimeToLive *int64 + Title *string + type ChromeWebPushCredendialsModel struct + ApiKey *string + WebSiteURL *string + type DeleteApnsConfOptions struct + AcceptLanguage *string + AppSecret *string + ApplicationID *string + Headers map[string]string + func (options *DeleteApnsConfOptions) SetAcceptLanguage(acceptLanguage string) *DeleteApnsConfOptions + func (options *DeleteApnsConfOptions) SetAppSecret(appSecret string) *DeleteApnsConfOptions + func (options *DeleteApnsConfOptions) SetApplicationID(applicationID string) *DeleteApnsConfOptions + func (options *DeleteApnsConfOptions) SetHeaders(param map[string]string) *DeleteApnsConfOptions + type DeleteChromeAppExtConfOptions struct + AcceptLanguage *string + AppSecret *string + ApplicationID *string + Headers map[string]string + func (options *DeleteChromeAppExtConfOptions) SetAcceptLanguage(acceptLanguage string) *DeleteChromeAppExtConfOptions + func (options *DeleteChromeAppExtConfOptions) SetAppSecret(appSecret string) *DeleteChromeAppExtConfOptions + func (options *DeleteChromeAppExtConfOptions) SetApplicationID(applicationID string) *DeleteChromeAppExtConfOptions + func (options *DeleteChromeAppExtConfOptions) SetHeaders(param map[string]string) *DeleteChromeAppExtConfOptions + type DeleteChromeWebConfOptions struct + AcceptLanguage *string + AppSecret *string + ApplicationID *string + Headers map[string]string + func (options *DeleteChromeWebConfOptions) SetAcceptLanguage(acceptLanguage string) *DeleteChromeWebConfOptions + func (options *DeleteChromeWebConfOptions) SetAppSecret(appSecret string) *DeleteChromeWebConfOptions + func (options *DeleteChromeWebConfOptions) SetApplicationID(applicationID string) *DeleteChromeWebConfOptions + func (options *DeleteChromeWebConfOptions) SetHeaders(param map[string]string) *DeleteChromeWebConfOptions + type DeleteFirefoxWebConfOptions struct + AcceptLanguage *string + AppSecret *string + ApplicationID *string + Headers map[string]string + func (options *DeleteFirefoxWebConfOptions) SetAcceptLanguage(acceptLanguage string) *DeleteFirefoxWebConfOptions + func (options *DeleteFirefoxWebConfOptions) SetAppSecret(appSecret string) *DeleteFirefoxWebConfOptions + func (options *DeleteFirefoxWebConfOptions) SetApplicationID(applicationID string) *DeleteFirefoxWebConfOptions + func (options *DeleteFirefoxWebConfOptions) SetHeaders(param map[string]string) *DeleteFirefoxWebConfOptions + type DeleteGCMConfOptions struct + AcceptLanguage *string + AppSecret *string + ApplicationID *string + Headers map[string]string + func (options *DeleteGCMConfOptions) SetAcceptLanguage(acceptLanguage string) *DeleteGCMConfOptions + func (options *DeleteGCMConfOptions) SetAppSecret(appSecret string) *DeleteGCMConfOptions + func (options *DeleteGCMConfOptions) SetApplicationID(applicationID string) *DeleteGCMConfOptions + func (options *DeleteGCMConfOptions) SetHeaders(param map[string]string) *DeleteGCMConfOptions + type DeleteSafariWebConfOptions struct + AcceptLanguage *string + AppSecret *string + ApplicationID *string + Headers map[string]string + func (options *DeleteSafariWebConfOptions) SetAcceptLanguage(acceptLanguage string) *DeleteSafariWebConfOptions + func (options *DeleteSafariWebConfOptions) SetAppSecret(appSecret string) *DeleteSafariWebConfOptions + func (options *DeleteSafariWebConfOptions) SetApplicationID(applicationID string) *DeleteSafariWebConfOptions + func (options *DeleteSafariWebConfOptions) SetHeaders(param map[string]string) *DeleteSafariWebConfOptions + type FirefoxWeb struct + IconURL *string + Payload *string + TimeToLive *int64 + Title *string + type FirefoxWebPushCredendialsModel struct + WebSiteURL *string + type GCMCredendialsModel struct + ApiKey *string + SenderID *string + type GCMCredendialsPublicModel struct + SenderID *string + type Gcm struct + AndroidTitle *string + ChannelID *string + CollapseKey *string + DelayWhileIdle *bool + GroupID *string + Icon *string + InteractiveCategory *string + Lights *Lights + Payload interface{} + Priority *string + Redact *string + Sound *string + Style *Style + Sync *bool + TimeToLive *int64 + Type *string + Visibility *string + type GetApnsConfOptions struct + AcceptLanguage *string + AppSecret *string + ApplicationID *string + Headers map[string]string + func (options *GetApnsConfOptions) SetAcceptLanguage(acceptLanguage string) *GetApnsConfOptions + func (options *GetApnsConfOptions) SetAppSecret(appSecret string) *GetApnsConfOptions + func (options *GetApnsConfOptions) SetApplicationID(applicationID string) *GetApnsConfOptions + func (options *GetApnsConfOptions) SetHeaders(param map[string]string) *GetApnsConfOptions + type GetChromeAppExtConfOptions struct + AcceptLanguage *string + AppSecret *string + ApplicationID *string + Headers map[string]string + func (options *GetChromeAppExtConfOptions) SetAcceptLanguage(acceptLanguage string) *GetChromeAppExtConfOptions + func (options *GetChromeAppExtConfOptions) SetAppSecret(appSecret string) *GetChromeAppExtConfOptions + func (options *GetChromeAppExtConfOptions) SetApplicationID(applicationID string) *GetChromeAppExtConfOptions + func (options *GetChromeAppExtConfOptions) SetHeaders(param map[string]string) *GetChromeAppExtConfOptions + type GetChromeAppExtConfPublicOptions struct + AcceptLanguage *string + ApplicationID *string + ClientSecret *string + Headers map[string]string + func (options *GetChromeAppExtConfPublicOptions) SetAcceptLanguage(acceptLanguage string) *GetChromeAppExtConfPublicOptions + func (options *GetChromeAppExtConfPublicOptions) SetApplicationID(applicationID string) *GetChromeAppExtConfPublicOptions + func (options *GetChromeAppExtConfPublicOptions) SetClientSecret(clientSecret string) *GetChromeAppExtConfPublicOptions + func (options *GetChromeAppExtConfPublicOptions) SetHeaders(param map[string]string) *GetChromeAppExtConfPublicOptions + type GetChromeWebConfOptions struct + AcceptLanguage *string + AppSecret *string + ApplicationID *string + Headers map[string]string + func (options *GetChromeWebConfOptions) SetAcceptLanguage(acceptLanguage string) *GetChromeWebConfOptions + func (options *GetChromeWebConfOptions) SetAppSecret(appSecret string) *GetChromeWebConfOptions + func (options *GetChromeWebConfOptions) SetApplicationID(applicationID string) *GetChromeWebConfOptions + func (options *GetChromeWebConfOptions) SetHeaders(param map[string]string) *GetChromeWebConfOptions + type GetFirefoxWebConfOptions struct + AcceptLanguage *string + AppSecret *string + ApplicationID *string + Headers map[string]string + func (options *GetFirefoxWebConfOptions) SetAcceptLanguage(acceptLanguage string) *GetFirefoxWebConfOptions + func (options *GetFirefoxWebConfOptions) SetAppSecret(appSecret string) *GetFirefoxWebConfOptions + func (options *GetFirefoxWebConfOptions) SetApplicationID(applicationID string) *GetFirefoxWebConfOptions + func (options *GetFirefoxWebConfOptions) SetHeaders(param map[string]string) *GetFirefoxWebConfOptions + type GetGCMConfOptions struct + AcceptLanguage *string + AppSecret *string + ApplicationID *string + Headers map[string]string + func (options *GetGCMConfOptions) SetAcceptLanguage(acceptLanguage string) *GetGCMConfOptions + func (options *GetGCMConfOptions) SetAppSecret(appSecret string) *GetGCMConfOptions + func (options *GetGCMConfOptions) SetApplicationID(applicationID string) *GetGCMConfOptions + func (options *GetGCMConfOptions) SetHeaders(param map[string]string) *GetGCMConfOptions + type GetGcmConfPublicOptions struct + AcceptLanguage *string + ApplicationID *string + ClientSecret *string + Headers map[string]string + func (options *GetGcmConfPublicOptions) SetAcceptLanguage(acceptLanguage string) *GetGcmConfPublicOptions + func (options *GetGcmConfPublicOptions) SetApplicationID(applicationID string) *GetGcmConfPublicOptions + func (options *GetGcmConfPublicOptions) SetClientSecret(clientSecret string) *GetGcmConfPublicOptions + func (options *GetGcmConfPublicOptions) SetHeaders(param map[string]string) *GetGcmConfPublicOptions + type GetSafariWebConfOptions struct + AcceptLanguage *string + AppSecret *string + ApplicationID *string + Headers map[string]string + func (options *GetSafariWebConfOptions) SetAcceptLanguage(acceptLanguage string) *GetSafariWebConfOptions + func (options *GetSafariWebConfOptions) SetAppSecret(appSecret string) *GetSafariWebConfOptions + func (options *GetSafariWebConfOptions) SetApplicationID(applicationID string) *GetSafariWebConfOptions + func (options *GetSafariWebConfOptions) SetHeaders(param map[string]string) *GetSafariWebConfOptions + type GetSettingsOptions struct + AcceptLanguage *string + AppSecret *string + ApplicationID *string + Headers map[string]string + func (options *GetSettingsOptions) SetAcceptLanguage(acceptLanguage string) *GetSettingsOptions + func (options *GetSettingsOptions) SetAppSecret(appSecret string) *GetSettingsOptions + func (options *GetSettingsOptions) SetApplicationID(applicationID string) *GetSettingsOptions + func (options *GetSettingsOptions) SetHeaders(param map[string]string) *GetSettingsOptions + type GetWebpushServerKeyOptions struct + AcceptLanguage *string + ApplicationID *string + ClientSecret *string + Headers map[string]string + func (options *GetWebpushServerKeyOptions) SetAcceptLanguage(acceptLanguage string) *GetWebpushServerKeyOptions + func (options *GetWebpushServerKeyOptions) SetApplicationID(applicationID string) *GetWebpushServerKeyOptions + func (options *GetWebpushServerKeyOptions) SetClientSecret(clientSecret string) *GetWebpushServerKeyOptions + func (options *GetWebpushServerKeyOptions) SetHeaders(param map[string]string) *GetWebpushServerKeyOptions + type Lights struct + LedArgb *string + LedOffMs *string + LedOnMs *int64 + type Message struct + Alert *string + URL *string + type MessageResponseModel struct + Message *SendMessageBody + MessageID *string + type MessagesArrayModel struct + Messages []MessagesList + type MessagesList struct + Alert *string + CreatedTime *string + Href *string + MessageID *string + type PushServiceV1 struct + Service *core.BaseService + func NewPushServiceV1(options *PushServiceV1Options) (service *PushServiceV1, err error) + func NewPushServiceV1UsingExternalConfig(options *PushServiceV1Options) (pushService *PushServiceV1, err error) + func (*PushServiceV1) NewChromeWebPushCredendialsModel(apiKey string, webSiteURL string) (model *ChromeWebPushCredendialsModel, err error) + func (*PushServiceV1) NewDeleteApnsConfOptions(applicationID string) *DeleteApnsConfOptions + func (*PushServiceV1) NewDeleteChromeAppExtConfOptions(applicationID string) *DeleteChromeAppExtConfOptions + func (*PushServiceV1) NewDeleteChromeWebConfOptions(applicationID string) *DeleteChromeWebConfOptions + func (*PushServiceV1) NewDeleteFirefoxWebConfOptions(applicationID string) *DeleteFirefoxWebConfOptions + func (*PushServiceV1) NewDeleteGCMConfOptions(applicationID string) *DeleteGCMConfOptions + func (*PushServiceV1) NewDeleteSafariWebConfOptions(applicationID string) *DeleteSafariWebConfOptions + func (*PushServiceV1) NewFirefoxWebPushCredendialsModel(webSiteURL string) (model *FirefoxWebPushCredendialsModel, err error) + func (*PushServiceV1) NewGCMCredendialsModel(apiKey string, senderID string) (model *GCMCredendialsModel, err error) + func (*PushServiceV1) NewGetApnsConfOptions(applicationID string) *GetApnsConfOptions + func (*PushServiceV1) NewGetChromeAppExtConfOptions(applicationID string) *GetChromeAppExtConfOptions + func (*PushServiceV1) NewGetChromeAppExtConfPublicOptions(applicationID string) *GetChromeAppExtConfPublicOptions + func (*PushServiceV1) NewGetChromeWebConfOptions(applicationID string) *GetChromeWebConfOptions + func (*PushServiceV1) NewGetFirefoxWebConfOptions(applicationID string) *GetFirefoxWebConfOptions + func (*PushServiceV1) NewGetGCMConfOptions(applicationID string) *GetGCMConfOptions + func (*PushServiceV1) NewGetGcmConfPublicOptions(applicationID string) *GetGcmConfPublicOptions + func (*PushServiceV1) NewGetSafariWebConfOptions(applicationID string) *GetSafariWebConfOptions + func (*PushServiceV1) NewGetSettingsOptions(applicationID string) *GetSettingsOptions + func (*PushServiceV1) NewGetWebpushServerKeyOptions(applicationID string) *GetWebpushServerKeyOptions + func (*PushServiceV1) NewSaveApnsConfOptions(applicationID string, password string, isSandBox bool, ...) *SaveApnsConfOptions + func (*PushServiceV1) NewSaveChromeAppExtConfOptions(applicationID string, apiKey string, senderID string) *SaveChromeAppExtConfOptions + func (*PushServiceV1) NewSaveChromeWebConfOptions(applicationID string, apiKey string, webSiteURL string) *SaveChromeWebConfOptions + func (*PushServiceV1) NewSaveFirefoxWebConfOptions(applicationID string, webSiteURL string) *SaveFirefoxWebConfOptions + func (*PushServiceV1) NewSaveGCMConfOptions(applicationID string, apiKey string, senderID string) *SaveGCMConfOptions + func (*PushServiceV1) NewSaveSafariWebConfOptions(applicationID string, password string, certificate io.ReadCloser, ...) *SaveSafariWebConfOptions + func (*PushServiceV1) NewSendMessageBody(message *Message) (model *SendMessageBody, err error) + func (*PushServiceV1) NewSendMessageOptions(applicationID string, message *Message) *SendMessageOptions + func (*PushServiceV1) NewSendMessagesInBulkOptions(applicationID string, body []SendMessageBody) *SendMessagesInBulkOptions + func (pushService *PushServiceV1) Clone() *PushServiceV1 + func (pushService *PushServiceV1) DeleteApnsConf(deleteApnsConfOptions *DeleteApnsConfOptions) (response *core.DetailedResponse, err error) + func (pushService *PushServiceV1) DeleteApnsConfWithContext(ctx context.Context, deleteApnsConfOptions *DeleteApnsConfOptions) (response *core.DetailedResponse, err error) + func (pushService *PushServiceV1) DeleteChromeAppExtConf(deleteChromeAppExtConfOptions *DeleteChromeAppExtConfOptions) (response *core.DetailedResponse, err error) + func (pushService *PushServiceV1) DeleteChromeAppExtConfWithContext(ctx context.Context, ...) (response *core.DetailedResponse, err error) + func (pushService *PushServiceV1) DeleteChromeWebConf(deleteChromeWebConfOptions *DeleteChromeWebConfOptions) (response *core.DetailedResponse, err error) + func (pushService *PushServiceV1) DeleteChromeWebConfWithContext(ctx context.Context, deleteChromeWebConfOptions *DeleteChromeWebConfOptions) (response *core.DetailedResponse, err error) + func (pushService *PushServiceV1) DeleteFirefoxWebConf(deleteFirefoxWebConfOptions *DeleteFirefoxWebConfOptions) (response *core.DetailedResponse, err error) + func (pushService *PushServiceV1) DeleteFirefoxWebConfWithContext(ctx context.Context, deleteFirefoxWebConfOptions *DeleteFirefoxWebConfOptions) (response *core.DetailedResponse, err error) + func (pushService *PushServiceV1) DeleteGCMConf(deleteGCMConfOptions *DeleteGCMConfOptions) (response *core.DetailedResponse, err error) + func (pushService *PushServiceV1) DeleteGCMConfWithContext(ctx context.Context, deleteGCMConfOptions *DeleteGCMConfOptions) (response *core.DetailedResponse, err error) + func (pushService *PushServiceV1) DeleteSafariWebConf(deleteSafariWebConfOptions *DeleteSafariWebConfOptions) (response *core.DetailedResponse, err error) + func (pushService *PushServiceV1) DeleteSafariWebConfWithContext(ctx context.Context, deleteSafariWebConfOptions *DeleteSafariWebConfOptions) (response *core.DetailedResponse, err error) + func (pushService *PushServiceV1) DisableRetries() + func (pushService *PushServiceV1) EnableRetries(maxRetries int, maxRetryInterval time.Duration) + func (pushService *PushServiceV1) GetApnsConf(getApnsConfOptions *GetApnsConfOptions) (result *ApnsCertUploadResponse, response *core.DetailedResponse, err error) + func (pushService *PushServiceV1) GetApnsConfWithContext(ctx context.Context, getApnsConfOptions *GetApnsConfOptions) (result *ApnsCertUploadResponse, response *core.DetailedResponse, err error) + func (pushService *PushServiceV1) GetChromeAppExtConf(getChromeAppExtConfOptions *GetChromeAppExtConfOptions) (result *GCMCredendialsModel, response *core.DetailedResponse, err error) + func (pushService *PushServiceV1) GetChromeAppExtConfPublic(getChromeAppExtConfPublicOptions *GetChromeAppExtConfPublicOptions) (result *GCMCredendialsPublicModel, response *core.DetailedResponse, err error) + func (pushService *PushServiceV1) GetChromeAppExtConfPublicWithContext(ctx context.Context, ...) (result *GCMCredendialsPublicModel, response *core.DetailedResponse, err error) + func (pushService *PushServiceV1) GetChromeAppExtConfWithContext(ctx context.Context, getChromeAppExtConfOptions *GetChromeAppExtConfOptions) (result *GCMCredendialsModel, response *core.DetailedResponse, err error) + func (pushService *PushServiceV1) GetChromeWebConf(getChromeWebConfOptions *GetChromeWebConfOptions) (result *ChromeWebPushCredendialsModel, response *core.DetailedResponse, ...) + func (pushService *PushServiceV1) GetChromeWebConfWithContext(ctx context.Context, getChromeWebConfOptions *GetChromeWebConfOptions) (result *ChromeWebPushCredendialsModel, response *core.DetailedResponse, ...) + func (pushService *PushServiceV1) GetEnableGzipCompression() bool + func (pushService *PushServiceV1) GetFirefoxWebConf(getFirefoxWebConfOptions *GetFirefoxWebConfOptions) (result *FirefoxWebPushCredendialsModel, response *core.DetailedResponse, ...) + func (pushService *PushServiceV1) GetFirefoxWebConfWithContext(ctx context.Context, getFirefoxWebConfOptions *GetFirefoxWebConfOptions) (result *FirefoxWebPushCredendialsModel, response *core.DetailedResponse, ...) + func (pushService *PushServiceV1) GetGCMConf(getGCMConfOptions *GetGCMConfOptions) (result *GCMCredendialsModel, response *core.DetailedResponse, err error) + func (pushService *PushServiceV1) GetGCMConfWithContext(ctx context.Context, getGCMConfOptions *GetGCMConfOptions) (result *GCMCredendialsModel, response *core.DetailedResponse, err error) + func (pushService *PushServiceV1) GetGcmConfPublic(getGcmConfPublicOptions *GetGcmConfPublicOptions) (result *GCMCredendialsPublicModel, response *core.DetailedResponse, err error) + func (pushService *PushServiceV1) GetGcmConfPublicWithContext(ctx context.Context, getGcmConfPublicOptions *GetGcmConfPublicOptions) (result *GCMCredendialsPublicModel, response *core.DetailedResponse, err error) + func (pushService *PushServiceV1) GetSafariWebConf(getSafariWebConfOptions *GetSafariWebConfOptions) (result *SafariCertUploadResponse, response *core.DetailedResponse, err error) + func (pushService *PushServiceV1) GetSafariWebConfWithContext(ctx context.Context, getSafariWebConfOptions *GetSafariWebConfOptions) (result *SafariCertUploadResponse, response *core.DetailedResponse, err error) + func (pushService *PushServiceV1) GetServiceURL() string + func (pushService *PushServiceV1) GetSettings(getSettingsOptions *GetSettingsOptions) (result *AppSettingsObjResponse, response *core.DetailedResponse, err error) + func (pushService *PushServiceV1) GetSettingsWithContext(ctx context.Context, getSettingsOptions *GetSettingsOptions) (result *AppSettingsObjResponse, response *core.DetailedResponse, err error) + func (pushService *PushServiceV1) GetWebpushServerKey(getWebpushServerKeyOptions *GetWebpushServerKeyOptions) (result *ApplicationServerKeyModel, response *core.DetailedResponse, err error) + func (pushService *PushServiceV1) GetWebpushServerKeyWithContext(ctx context.Context, getWebpushServerKeyOptions *GetWebpushServerKeyOptions) (result *ApplicationServerKeyModel, response *core.DetailedResponse, err error) + func (pushService *PushServiceV1) SaveApnsConf(saveApnsConfOptions *SaveApnsConfOptions) (result *ApnsCertUploadResponse, response *core.DetailedResponse, err error) + func (pushService *PushServiceV1) SaveApnsConfWithContext(ctx context.Context, saveApnsConfOptions *SaveApnsConfOptions) (result *ApnsCertUploadResponse, response *core.DetailedResponse, err error) + func (pushService *PushServiceV1) SaveChromeAppExtConf(saveChromeAppExtConfOptions *SaveChromeAppExtConfOptions) (result *GCMCredendialsModel, response *core.DetailedResponse, err error) + func (pushService *PushServiceV1) SaveChromeAppExtConfWithContext(ctx context.Context, saveChromeAppExtConfOptions *SaveChromeAppExtConfOptions) (result *GCMCredendialsModel, response *core.DetailedResponse, err error) + func (pushService *PushServiceV1) SaveChromeWebConf(saveChromeWebConfOptions *SaveChromeWebConfOptions) (result *ChromeWebPushCredendialsModel, response *core.DetailedResponse, ...) + func (pushService *PushServiceV1) SaveChromeWebConfWithContext(ctx context.Context, saveChromeWebConfOptions *SaveChromeWebConfOptions) (result *ChromeWebPushCredendialsModel, response *core.DetailedResponse, ...) + func (pushService *PushServiceV1) SaveFirefoxWebConf(saveFirefoxWebConfOptions *SaveFirefoxWebConfOptions) (result *FirefoxWebPushCredendialsModel, response *core.DetailedResponse, ...) + func (pushService *PushServiceV1) SaveFirefoxWebConfWithContext(ctx context.Context, saveFirefoxWebConfOptions *SaveFirefoxWebConfOptions) (result *FirefoxWebPushCredendialsModel, response *core.DetailedResponse, ...) + func (pushService *PushServiceV1) SaveGCMConf(saveGCMConfOptions *SaveGCMConfOptions) (result *GCMCredendialsModel, response *core.DetailedResponse, err error) + func (pushService *PushServiceV1) SaveGCMConfWithContext(ctx context.Context, saveGCMConfOptions *SaveGCMConfOptions) (result *GCMCredendialsModel, response *core.DetailedResponse, err error) + func (pushService *PushServiceV1) SaveSafariWebConf(saveSafariWebConfOptions *SaveSafariWebConfOptions) (result *SafariCertUploadResponse, response *core.DetailedResponse, err error) + func (pushService *PushServiceV1) SaveSafariWebConfWithContext(ctx context.Context, saveSafariWebConfOptions *SaveSafariWebConfOptions) (result *SafariCertUploadResponse, response *core.DetailedResponse, err error) + func (pushService *PushServiceV1) SendMessage(sendMessageOptions *SendMessageOptions) (result *MessageResponseModel, response *core.DetailedResponse, err error) + func (pushService *PushServiceV1) SendMessageWithContext(ctx context.Context, sendMessageOptions *SendMessageOptions) (result *MessageResponseModel, response *core.DetailedResponse, err error) + func (pushService *PushServiceV1) SendMessagesInBulk(sendMessagesInBulkOptions *SendMessagesInBulkOptions) (result *MessagesArrayModel, response *core.DetailedResponse, err error) + func (pushService *PushServiceV1) SendMessagesInBulkWithContext(ctx context.Context, sendMessagesInBulkOptions *SendMessagesInBulkOptions) (result *MessagesArrayModel, response *core.DetailedResponse, err error) + func (pushService *PushServiceV1) SetDefaultHeaders(headers http.Header) + func (pushService *PushServiceV1) SetEnableGzipCompression(enableGzip bool) + func (pushService *PushServiceV1) SetServiceURL(url string) error + type PushServiceV1Options struct + Authenticator core.Authenticator + ServiceName string + URL string + type SafariCertUploadResponse struct + Certificate *string + UrlFormatString *string + WebSiteURL interface{} + WebsiteName *string + WebsitePushID interface{} + type SafariWeb struct + Action *string + Title *string + UrlArgs []string + type SaveApnsConfOptions struct + AcceptLanguage *string + AppSecret *string + ApplicationID *string + Certificate io.ReadCloser + CertificateContentType *string + Headers map[string]string + IsSandBox *bool + Password *string + func (options *SaveApnsConfOptions) SetAcceptLanguage(acceptLanguage string) *SaveApnsConfOptions + func (options *SaveApnsConfOptions) SetAppSecret(appSecret string) *SaveApnsConfOptions + func (options *SaveApnsConfOptions) SetApplicationID(applicationID string) *SaveApnsConfOptions + func (options *SaveApnsConfOptions) SetCertificate(certificate io.ReadCloser) *SaveApnsConfOptions + func (options *SaveApnsConfOptions) SetCertificateContentType(certificateContentType string) *SaveApnsConfOptions + func (options *SaveApnsConfOptions) SetHeaders(param map[string]string) *SaveApnsConfOptions + func (options *SaveApnsConfOptions) SetIsSandBox(isSandBox bool) *SaveApnsConfOptions + func (options *SaveApnsConfOptions) SetPassword(password string) *SaveApnsConfOptions + type SaveChromeAppExtConfOptions struct + AcceptLanguage *string + ApiKey *string + AppSecret *string + ApplicationID *string + Headers map[string]string + SenderID *string + func (options *SaveChromeAppExtConfOptions) SetAcceptLanguage(acceptLanguage string) *SaveChromeAppExtConfOptions + func (options *SaveChromeAppExtConfOptions) SetApiKey(apiKey string) *SaveChromeAppExtConfOptions + func (options *SaveChromeAppExtConfOptions) SetAppSecret(appSecret string) *SaveChromeAppExtConfOptions + func (options *SaveChromeAppExtConfOptions) SetApplicationID(applicationID string) *SaveChromeAppExtConfOptions + func (options *SaveChromeAppExtConfOptions) SetHeaders(param map[string]string) *SaveChromeAppExtConfOptions + func (options *SaveChromeAppExtConfOptions) SetSenderID(senderID string) *SaveChromeAppExtConfOptions + type SaveChromeWebConfOptions struct + AcceptLanguage *string + ApiKey *string + AppSecret *string + ApplicationID *string + Headers map[string]string + WebSiteURL *string + func (options *SaveChromeWebConfOptions) SetAcceptLanguage(acceptLanguage string) *SaveChromeWebConfOptions + func (options *SaveChromeWebConfOptions) SetApiKey(apiKey string) *SaveChromeWebConfOptions + func (options *SaveChromeWebConfOptions) SetAppSecret(appSecret string) *SaveChromeWebConfOptions + func (options *SaveChromeWebConfOptions) SetApplicationID(applicationID string) *SaveChromeWebConfOptions + func (options *SaveChromeWebConfOptions) SetHeaders(param map[string]string) *SaveChromeWebConfOptions + func (options *SaveChromeWebConfOptions) SetWebSiteURL(webSiteURL string) *SaveChromeWebConfOptions + type SaveFirefoxWebConfOptions struct + AcceptLanguage *string + AppSecret *string + ApplicationID *string + Headers map[string]string + WebSiteURL *string + func (options *SaveFirefoxWebConfOptions) SetAcceptLanguage(acceptLanguage string) *SaveFirefoxWebConfOptions + func (options *SaveFirefoxWebConfOptions) SetAppSecret(appSecret string) *SaveFirefoxWebConfOptions + func (options *SaveFirefoxWebConfOptions) SetApplicationID(applicationID string) *SaveFirefoxWebConfOptions + func (options *SaveFirefoxWebConfOptions) SetHeaders(param map[string]string) *SaveFirefoxWebConfOptions + func (options *SaveFirefoxWebConfOptions) SetWebSiteURL(webSiteURL string) *SaveFirefoxWebConfOptions + type SaveGCMConfOptions struct + AcceptLanguage *string + ApiKey *string + AppSecret *string + ApplicationID *string + Headers map[string]string + SenderID *string + func (options *SaveGCMConfOptions) SetAcceptLanguage(acceptLanguage string) *SaveGCMConfOptions + func (options *SaveGCMConfOptions) SetApiKey(apiKey string) *SaveGCMConfOptions + func (options *SaveGCMConfOptions) SetAppSecret(appSecret string) *SaveGCMConfOptions + func (options *SaveGCMConfOptions) SetApplicationID(applicationID string) *SaveGCMConfOptions + func (options *SaveGCMConfOptions) SetHeaders(param map[string]string) *SaveGCMConfOptions + func (options *SaveGCMConfOptions) SetSenderID(senderID string) *SaveGCMConfOptions + type SaveSafariWebConfOptions struct + AcceptLanguage *string + AppSecret *string + ApplicationID *string + Certificate io.ReadCloser + CertificateContentType *string + Headers map[string]string + Icon128x128 io.ReadCloser + Icon128x1282x io.ReadCloser + Icon128x1282xContentType *string + Icon128x128ContentType *string + Icon16x16 io.ReadCloser + Icon16x162x io.ReadCloser + Icon16x162xContentType *string + Icon16x16ContentType *string + Icon32x32 io.ReadCloser + Icon32x322x io.ReadCloser + Icon32x322xContentType *string + Icon32x32ContentType *string + Password *string + UrlFormatString *string + WebSiteURL *string + WebsiteName *string + WebsitePushID *string + func (options *SaveSafariWebConfOptions) SetAcceptLanguage(acceptLanguage string) *SaveSafariWebConfOptions + func (options *SaveSafariWebConfOptions) SetAppSecret(appSecret string) *SaveSafariWebConfOptions + func (options *SaveSafariWebConfOptions) SetApplicationID(applicationID string) *SaveSafariWebConfOptions + func (options *SaveSafariWebConfOptions) SetCertificate(certificate io.ReadCloser) *SaveSafariWebConfOptions + func (options *SaveSafariWebConfOptions) SetCertificateContentType(certificateContentType string) *SaveSafariWebConfOptions + func (options *SaveSafariWebConfOptions) SetHeaders(param map[string]string) *SaveSafariWebConfOptions + func (options *SaveSafariWebConfOptions) SetIcon128x128(icon128x128 io.ReadCloser) *SaveSafariWebConfOptions + func (options *SaveSafariWebConfOptions) SetIcon128x1282x(icon128x1282x io.ReadCloser) *SaveSafariWebConfOptions + func (options *SaveSafariWebConfOptions) SetIcon128x1282xContentType(icon128x1282xContentType string) *SaveSafariWebConfOptions + func (options *SaveSafariWebConfOptions) SetIcon128x128ContentType(icon128x128ContentType string) *SaveSafariWebConfOptions + func (options *SaveSafariWebConfOptions) SetIcon16x16(icon16x16 io.ReadCloser) *SaveSafariWebConfOptions + func (options *SaveSafariWebConfOptions) SetIcon16x162x(icon16x162x io.ReadCloser) *SaveSafariWebConfOptions + func (options *SaveSafariWebConfOptions) SetIcon16x162xContentType(icon16x162xContentType string) *SaveSafariWebConfOptions + func (options *SaveSafariWebConfOptions) SetIcon16x16ContentType(icon16x16ContentType string) *SaveSafariWebConfOptions + func (options *SaveSafariWebConfOptions) SetIcon32x32(icon32x32 io.ReadCloser) *SaveSafariWebConfOptions + func (options *SaveSafariWebConfOptions) SetIcon32x322x(icon32x322x io.ReadCloser) *SaveSafariWebConfOptions + func (options *SaveSafariWebConfOptions) SetIcon32x322xContentType(icon32x322xContentType string) *SaveSafariWebConfOptions + func (options *SaveSafariWebConfOptions) SetIcon32x32ContentType(icon32x32ContentType string) *SaveSafariWebConfOptions + func (options *SaveSafariWebConfOptions) SetPassword(password string) *SaveSafariWebConfOptions + func (options *SaveSafariWebConfOptions) SetUrlFormatString(urlFormatString string) *SaveSafariWebConfOptions + func (options *SaveSafariWebConfOptions) SetWebSiteURL(webSiteURL string) *SaveSafariWebConfOptions + func (options *SaveSafariWebConfOptions) SetWebsiteName(websiteName string) *SaveSafariWebConfOptions + func (options *SaveSafariWebConfOptions) SetWebsitePushID(websitePushID string) *SaveSafariWebConfOptions + type SendMessageBody struct + Message *Message + Settings *Settings + Target *Target + Validate *bool + type SendMessageOptions struct + AcceptLanguage *string + ApplicationID *string + Headers map[string]string + Message *Message + Settings *Settings + Target *Target + Validate *bool + func (options *SendMessageOptions) SetAcceptLanguage(acceptLanguage string) *SendMessageOptions + func (options *SendMessageOptions) SetApplicationID(applicationID string) *SendMessageOptions + func (options *SendMessageOptions) SetHeaders(param map[string]string) *SendMessageOptions + func (options *SendMessageOptions) SetMessage(message *Message) *SendMessageOptions + func (options *SendMessageOptions) SetSettings(settings *Settings) *SendMessageOptions + func (options *SendMessageOptions) SetTarget(target *Target) *SendMessageOptions + func (options *SendMessageOptions) SetValidate(validate bool) *SendMessageOptions + type SendMessagesInBulkOptions struct + AcceptLanguage *string + AppSecret *string + ApplicationID *string + Body []SendMessageBody + Headers map[string]string + func (options *SendMessagesInBulkOptions) SetAcceptLanguage(acceptLanguage string) *SendMessagesInBulkOptions + func (options *SendMessagesInBulkOptions) SetAppSecret(appSecret string) *SendMessagesInBulkOptions + func (options *SendMessagesInBulkOptions) SetApplicationID(applicationID string) *SendMessagesInBulkOptions + func (options *SendMessagesInBulkOptions) SetBody(body []SendMessageBody) *SendMessagesInBulkOptions + func (options *SendMessagesInBulkOptions) SetHeaders(param map[string]string) *SendMessagesInBulkOptions + type Settings struct + Apns *Apns + ChromeAppExt *ChromeAppExt + ChromeWeb *ChromeWeb + FirefoxWeb *FirefoxWeb + Gcm *Gcm + SafariWeb *SafariWeb + type Style struct + Lines []string + Text *string + Title *string + Type *string + URL *string + type Target struct + DeviceIds []string + Platforms []string + TagNames []string + UserIds []string