Package com.ringcentral.definitions
Class CompanyAnsweringRuleRequest
java.lang.Object
com.ringcentral.definitions.CompanyAnsweringRuleRequest
-
Field Summary
FieldsModifier and TypeFieldDescriptionAnswering rule will be applied when calling the specified number(s)Answering rule will be applied when calls are received from the specified caller(s)Specifies how incoming calls are forwarded.Specifies if the rule is active or inactive.Greetings applied for an answering rule; only predefined greetings can be applied, see Dictionary Greeting ListName of an answering rule specified by user.Type of an answering rule, the default value is 'Custom' = ['BusinessHours', 'AfterHours', 'Custom'] Enum: BusinessHours, AfterHours, Custom -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncalledNumbers
(CompanyAnsweringRuleCalledNumberInfo[] calledNumbers) callers
(CompanyAnsweringRuleCallersInfoRequest[] callers) callHandlingAction
(String callHandlingAction) extension
(CompanyAnsweringRuleCallersInfoRequest extension) greetings
(GreetingInfo[] greetings)
-
Field Details
-
name
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 -
enabled
Specifies if the rule is active or inactive. The default value is `true` Default: true -
type
Type of an answering rule, the default value is 'Custom' = ['BusinessHours', 'AfterHours', 'Custom'] Enum: BusinessHours, AfterHours, Custom -
callers
Answering rule will be applied when calls are received from the specified caller(s) -
calledNumbers
Answering rule will be applied when calling the specified number(s) -
schedule
-
callHandlingAction
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'] Enum: Operator, Disconnect, Bypass -
extension
-
greetings
Greetings applied for an answering rule; only predefined greetings can be applied, see Dictionary Greeting List
-
-
Constructor Details
-
CompanyAnsweringRuleRequest
public CompanyAnsweringRuleRequest()
-
-
Method Details
-
name
-
enabled
-
type
-
callers
-
calledNumbers
public CompanyAnsweringRuleRequest calledNumbers(CompanyAnsweringRuleCalledNumberInfo[] calledNumbers) -
schedule
-
callHandlingAction
-
extension
-
greetings
-