github.com/grokify/go-ringcentral-client@v0.3.31/office/v1/client/model_subscription_info.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 import ( 13 "time" 14 ) 15 16 type SubscriptionInfo struct { 17 // Internal identifier of a subscription 18 Id string `json:"id,omitempty"` 19 // Canonical URI of a subscription 20 Uri string `json:"uri,omitempty"` 21 // Collection of URIs to API resources (message-store/presence/detailed presence) 22 EventFilters []string `json:"eventFilters,omitempty"` 23 // Subscription expiration datetime in ISO 8601 format including timezone, for example 2016-03-10T18:07:52.534Z 24 ExpirationTime time.Time `json:"expirationTime,omitempty"` 25 // Subscription lifetime in seconds. The default value is 900 26 ExpiresIn int32 `json:"expiresIn,omitempty"` 27 // Subscription status 28 Status string `json:"status,omitempty"` 29 // Subscription creation datetime in ISO 8601 format including timezone, for example 2016-03-10T18:07:52.534Z 30 CreationTime time.Time `json:"creationTime,omitempty"` 31 DeliveryMode NotificationDeliveryMode `json:"deliveryMode"` 32 }