github.com/grokify/go-ringcentral-client@v0.3.31/office/v1/client/model_answering_rule_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 type AnsweringRuleInfo struct { 13 // Canonical URI to the answering rule resource 14 Uri string `json:"uri,omitempty"` 15 // Internal identifier of an answering rule 16 Id string `json:"id,omitempty"` 17 // Type of an answering rule 18 Type string `json:"type,omitempty"` 19 // Name of an answering rule specified by user 20 Name string `json:"name,omitempty"` 21 // Specifies if an answering rule is active or inactive 22 Enabled bool `json:"enabled,omitempty"` 23 Schedule ScheduleInfo `json:"schedule,omitempty"` 24 // Answering rules are applied when calling to selected number(s) 25 CalledNumbers []CalledNumberInfo `json:"calledNumbers,omitempty"` 26 // Answering rules are applied when calls are received from specified caller(s) 27 Callers []CallersInfo `json:"callers,omitempty"` 28 // Specifies how incoming calls are forwarded 29 CallHandlingAction string `json:"callHandlingAction,omitempty"` 30 Forwarding ForwardingInfo `json:"forwarding,omitempty"` 31 UnconditionalForwarding UnconditionalForwardingInfo `json:"unconditionalForwarding,omitempty"` 32 Queue QueueInfo `json:"queue,omitempty"` 33 Transfer TransferredExtensionInfo `json:"transfer,omitempty"` 34 Voicemail VoicemailInfo `json:"voicemail,omitempty"` 35 // Greetings applied for an answering rule; only predefined greetings can be applied, see Dictionary Greeting List 36 Greetings []GreetingInfo `json:"greetings,omitempty"` 37 }