NmDialPlan constructor

const NmDialPlan({
  1. required String id,
  2. required String commandSetId,
  3. int priority = 0,
  4. String? proTag,
  5. int onlineMax = 0,
  6. int addMax = 0,
  7. bool canIn = true,
  8. bool canOut = true,
  9. bool canSout = false,
  10. bool notVip = false,
  11. Set<String> qualityFlags = const {},
  12. bool capOk = true,
  13. bool capNew = true,
  14. bool capFail = false,
  15. int diffSlow = 0,
  16. int diffMin = 0,
  17. int diffMinOut = 0,
  18. int? timeWake,
  19. int? timeSleep,
  20. int? timeWorkWake,
  21. int? timeWorkSleep,
  22. int? timeHolidayWake,
  23. int? timeHolidaySleep,
  24. List<NmPlanDirectionSlot> directions = const [],
  25. int iattMin = 0,
  26. int iattMax = 0,
  27. int iattSoft = 0,
  28. int inAcdMin = 0,
  29. int inAcdMax = 0,
  30. int outAcdMin = 0,
  31. int outAcdMax = 0,
  32. bool forwarding = false,
  33. int outInAns = 0,
  34. bool conn = false,
  35. bool rand = false,
  36. bool inWait = false,
  37. bool inSound = false,
  38. int mayLimit = 0,
  39. int monLimit = 0,
  40. int msmLimit = 0,
  41. int smsoutSoft = 0,
  42. int smsoutHard = 0,
  43. int sattSoft = 0,
  44. int sattHard = 0,
  45. int sattSoftDay = 0,
  46. int sattHardDay = 0,
  47. int sattSoftTotal = 0,
  48. int sattHardTotal = 0,
  49. int nospam = 0,
})

Creates a NmDialPlan.

Implementation

const NmDialPlan({
  required this.id,
  required this.commandSetId,
  this.priority = 0,
  this.proTag,
  this.onlineMax = 0,
  this.addMax = 0,
  this.canIn = true,
  this.canOut = true,
  this.canSout = false,
  this.notVip = false,
  this.qualityFlags = const {},
  this.capOk = true,
  this.capNew = true,
  this.capFail = false,
  this.diffSlow = 0,
  this.diffMin = 0,
  this.diffMinOut = 0,
  this.timeWake,
  this.timeSleep,
  this.timeWorkWake,
  this.timeWorkSleep,
  this.timeHolidayWake,
  this.timeHolidaySleep,
  this.directions = const [],
  this.iattMin = 0,
  this.iattMax = 0,
  this.iattSoft = 0,
  this.inAcdMin = 0,
  this.inAcdMax = 0,
  this.outAcdMin = 0,
  this.outAcdMax = 0,
  this.forwarding = false,
  this.outInAns = 0,
  this.conn = false,
  this.rand = false,
  this.inWait = false,
  this.inSound = false,
  this.mayLimit = 0,
  this.monLimit = 0,
  this.msmLimit = 0,
  this.smsoutSoft = 0,
  this.smsoutHard = 0,
  this.sattSoft = 0,
  this.sattHard = 0,
  this.sattSoftDay = 0,
  this.sattHardDay = 0,
  this.sattSoftTotal = 0,
  this.sattHardTotal = 0,
  this.nospam = 0,
});