github.com/grokify/go-ringcentral-client@v0.3.31/office/v1/client/model_company_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 CompanyAnsweringRuleInfo struct {
    13  	// Internal identifier of an answering rule
    14  	Id string `json:"id,omitempty"`
    15  	// Canonical URI of an answering rule
    16  	Uri string `json:"uri,omitempty"`
    17  	// Specifies if the rule is active or inactive. The default value is 'True'
    18  	Enabled bool `json:"enabled,omitempty"`
    19  	// Type of an answering rule, the default value is 'Custom' = ['BusinessHours', 'AfterHours', 'Custom']
    20  	Type string `json:"type,omitempty"`
    21  	// Name of an answering rule specified by user. Max number of symbols is 30. The default value is 'My Rule N' where 'N' is the first free number
    22  	Name string `json:"name,omitempty"`
    23  	// Answering rule will be applied when calls are received from the specified caller(s)
    24  	Callers []CompanyAnsweringRuleCallersInfoRequest `json:"callers,omitempty"`
    25  	// Answering rule will be applied when calling the specified number(s)
    26  	CalledNumbers []CompanyAnsweringRuleCalledNumberInfoRequest `json:"calledNumbers,omitempty"`
    27  	Schedule      CompanyAnsweringRuleScheduleInfo              `json:"schedule,omitempty"`
    28  	// Specifies how incoming calls are forwarded. The default value is 'Operator' 'Operator' - play company greeting and forward to operator extension 'Disconnect' - play company greeting and disconnect 'Bypass' - bypass greeting to go to selected extension = ['Operator', 'Disconnect', 'Bypass']
    29  	CallHandlingAction string                                 `json:"callHandlingAction,omitempty"`
    30  	Extension          CompanyAnsweringRuleCallersInfoRequest `json:"extension,omitempty"`
    31  	// Greetings applied for an answering rule; only predefined greetings can be applied, see Dictionary Greeting List
    32  	Greetings []GreetingInfo `json:"greetings,omitempty"`
    33  }