private Usage() { this._type = qnaxLib.Enums.UsageType.VOIP; this._anumber = string.Empty; this._bnumber = string.Empty; this._duration = 0; this._direction = qnaxLib.Enums.VOIPUsageDirection.None; this._timestamp = 0; this._status = qnaxLib.Enums.VOIPUsageStatus.Answered; this._redirect = false; this._source = string.Empty; this._temp_resolved = false; }
public Usage(string ANumber, string BNumber, int DurationInSeconds, Enums.VOIPUsageDirection Direction, int Timestamp, Enums.VOIPUsageStatus Status, string Source) { this._type = qnaxLib.Enums.UsageType.VOIP; this._anumber = ANumber; this._bnumber = BNumber; this._duration = DurationInSeconds; this._direction = Direction; this._timestamp = Timestamp; this._status = Status; this._source = Source; this._redirect = false; this._temp_resolved = false; }