/
model_voicemails_info.go
25 lines (23 loc) · 1.73 KB
/
model_voicemails_info.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
/*
* RingCentral Connect Platform API Explorer
*
* <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>
*
* API version: 1.0
* Generated by: OpenAPI Generator (https://openapi-generator.tech)
*/
package ringcentral
type VoicemailsInfo struct {
// Email notification flag
NotifyByEmail bool `json:"notifyByEmail,omitempty"`
// SMS notification flag
NotifyBySms bool `json:"notifyBySms,omitempty"`
// List of recipient email addresses for voicemail notifications. Returned if specified, in both modes (advanced/basic). Applied in advanced mode only
AdvancedEmailAddresses []string `json:"advancedEmailAddresses,omitempty"`
// List of recipient phone numbers for voicemail notifications. Returned if specified, in both modes (advanced/basic). Applied in advanced mode only
AdvancedSmsEmailAddresses []string `json:"advancedSmsEmailAddresses,omitempty"`
// Indicates whether voicemail should be attached to email
IncludeAttachment bool `json:"includeAttachment,omitempty"`
// Indicates whether email should be automatically marked as read
MarkAsRead bool `json:"markAsRead,omitempty"`
}