github.com/grokify/go-ringcentral-client@v0.3.31/office/v1/client/model_notification_delivery_mode_request.go (about) 1 /* 2 * RingCentral Connect Platform API Explorer 3 * 4 * <p>This is a beta interactive API explorer for the RingCentral Connect Platform. To use this service, you will need to have an account with the proper credentials to generate an OAuth2 access token.</p><p><h2>Quick Start</h2></p><ol><li>1) Go to <b>Authentication > /oauth/token</b></li><li>2) Enter <b>app_key, app_secret, username, password</b> fields and then click \"Try it out!\"</li><li>3) Upon success, your access_token is loaded and you can access any form requiring authorization.</li></ol><h2>Links</h2><ul><li><a href=\"https://github.com/ringcentral\" target=\"_blank\">RingCentral SDKs on Github</a></li><li><a href=\"mailto:devsupport@ringcentral.com\">RingCentral Developer Support Email</a></li></ul> 5 * 6 * API version: 1.0 7 * Generated by: OpenAPI Generator (https://openapi-generator.tech) 8 */ 9 10 package ringcentral 11 12 type NotificationDeliveryModeRequest struct { 13 // Notifications transportation provider name. 'APNS' (Apple Push Notifications Service) 14 TransportType string `json:"transportType,omitempty"` 15 // Mandatory for 'APNS' and 'WebHook' transport types. For 'APNS' - internal identifier of a device 'device_token' for 'WebHook' - URL of a consumer service (cannot be changed during subscription update) 16 Address string `json:"address,omitempty"` 17 // Optional parameter. Specifies if the message will be encrypted or not. If request contains any presence event filter the value by default is 'True' (even if specified as 'false'). If request contains only message event filters the value by default is 'False' 18 Encryption bool `json:"encryption,omitempty"` 19 // For 'PubNub/APNS' and 'PubNub/GCM' transport types. Name of a certificate 20 CertificateName string `json:"certificateName,omitempty"` 21 // For 'PubNub/APNS' and 'PubNub/GCM' transport types. Identifier of a registration 22 RegistrationId string `json:"registrationId,omitempty"` 23 }