/// <summary>
 /// Initializes a new instance of the <see cref="UserLog" /> class.
 /// </summary>
 /// <param name="userId">userId.</param>
 /// <param name="total">total.</param>
 /// <param name="adjustedTotal">adjustedTotal.</param>
 /// <param name="log">log.</param>
 public UserLog(string userId = default(string), UserLogTotal total = default(UserLogTotal), UserLogTotal adjustedTotal = default(UserLogTotal), List <OnCallInterval> log = default(List <OnCallInterval>))
 {
     this.UserId        = userId;
     this.Total         = total;
     this.AdjustedTotal = adjustedTotal;
     this.Log           = log;
 }
예제 #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="OnCallInterval" /> class.
 /// </summary>
 /// <param name="_true">_true.</param>
 /// <param name="_false">_false.</param>
 /// <param name="duration">duration.</param>
 /// <param name="escalationPolicy">escalationPolicy.</param>
 public OnCallInterval(string _true = default(string), string _false = default(string), UserLogTotal duration = default(UserLogTotal), EscalationPolicy escalationPolicy = default(EscalationPolicy))
 {
     this.True             = _true;
     this.False            = _false;
     this.Duration         = duration;
     this.EscalationPolicy = escalationPolicy;
 }