Package com.ringcentral.definitions
Class UpdateAnsweringRuleRequest
java.lang.Object
com.ringcentral.definitions.UpdateAnsweringRuleRequest
-
Field Summary
FieldsModifier and TypeFieldDescriptionAnswering rules are applied when calling to selected number(s)Answering rule will be applied when calls are received from the specified caller(s)Specifies how incoming calls are forwarded Enum: ForwardCalls, UnconditionalForwarding, AgentQueue, TransferToExtension, TakeMessagesOnly, PlayAnnouncementOnly, SharedLinesSpecifies if the rule is active or inactive.Greetings applied for an answering rule; only predefined greetings can be applied, see Dictionary Greeting ListIdentifier of an answering ruleName of an answering rule specified by userCall screening status.Indicates whether inactive numbers should be returned or notType of an answering rule Enum: BusinessHours, AfterHours, Custom -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncalledNumbers
(CalledNumberInfo[] calledNumbers) callers
(CallersInfoRequest[] callers) callHandlingAction
(String callHandlingAction) forwarding
(ForwardingInfoCreateRuleRequest forwarding) greetings
(GreetingInfo[] greetings) missedCall
(MissedCallInfo missedCall) schedule
(ScheduleInfo schedule) showInactiveNumbers
(Boolean showInactiveNumbers) transfer
(TransferredExtensionInfo transfer) unconditionalForwarding
(UnconditionalForwardingInfo unconditionalForwarding) voicemail
(VoicemailInfo voicemail)
-
Field Details
-
id
Identifier of an answering rule -
forwarding
-
enabled
Specifies if the rule is active or inactive. The default value is `true` -
name
Name of an answering rule specified by user -
callers
Answering rule will be applied when calls are received from the specified caller(s) -
calledNumbers
Answering rules are applied when calling to selected number(s) -
schedule
-
callHandlingAction
Specifies how incoming calls are forwarded Enum: ForwardCalls, UnconditionalForwarding, AgentQueue, TransferToExtension, TakeMessagesOnly, PlayAnnouncementOnly, SharedLines -
type
Type of an answering rule Enum: BusinessHours, AfterHours, Custom -
unconditionalForwarding
-
queue
-
voicemail
-
missedCall
-
greetings
Greetings applied for an answering rule; only predefined greetings can be applied, see Dictionary Greeting List -
screening
Call screening status. 'Off' - no call screening; 'NoCallerId' - if caller ID is missing, then callers are asked to say their name before connecting; 'UnknownCallerId' - if caller ID is not in contact list, then callers are asked to say their name before connecting; 'Always' - the callers are always asked to say their name before connecting. The default value is 'Off' Default: Off Enum: Off, NoCallerId, UnknownCallerId, Always -
showInactiveNumbers
Indicates whether inactive numbers should be returned or not -
transfer
-
-
Constructor Details
-
UpdateAnsweringRuleRequest
public UpdateAnsweringRuleRequest()
-
-
Method Details
-
id
-
forwarding
-
enabled
-
name
-
callers
-
calledNumbers
-
schedule
-
callHandlingAction
-
type
-
unconditionalForwarding
public UpdateAnsweringRuleRequest unconditionalForwarding(UnconditionalForwardingInfo unconditionalForwarding) -
queue
-
voicemail
-
missedCall
-
greetings
-
screening
-
showInactiveNumbers
-
transfer
-