Routine

data class Routine(id: String, name: String, type: String, active: Boolean)

Functions

canBeModified
Link copied to clipboard
fun canBeModified(): Boolean
Define if the routine can be modified.
update
Link copied to clipboard
fun update(routine: Routine)
Update the routine with the content of the one passed in parameter.

Properties

active
Link copied to clipboard
var active: Boolean = false
Define is the routine is the one currently selected and active.
busyCallForward
Link copied to clipboard
var busyCallForward: ForwardStatus
ForwardStatus Define the forward details on busy
deviceMode
Link copied to clipboard
var deviceMode: DeviceMode
Define if the office phone should ring too when called.
dndPresence
Link copied to clipboard
var dndPresence: Boolean = true
Define if the presence should be set to "Do not disturb"
huntingGroups
Link copied to clipboard
var huntingGroups: HuntingGroups
Define if the routine should withdraw the user from all call groups.
id
Link copied to clipboard
val id: String
Identifier of the routine.
immediateCallForward
Link copied to clipboard
var immediateCallForward: ForwardStatus
ForwardStatus Define the immediate forward details
isFullyLoaded
Link copied to clipboard
var isFullyLoaded: Boolean = false
Define if the routine has been fully loaded of if we need to get it by Id to get it in full.
name
Link copied to clipboard
var name: String
Name of the routine.
noreplyCallForward
Link copied to clipboard
var noreplyCallForward: ForwardStatus
ForwardStatus Define the forward details on no answer
type
Link copied to clipboard
var type: String
Default name of the routine.