Files
sqltoolsservice/src/Microsoft.SqlTools.ServiceLayer/Agent/Contracts/AgentOperatorInfo.cs
Karl Burtram f288bee294 Make nullable warnings a per file opt-in (#1842)
* Make nullable warnings a per file opt-in

* Remove unneeded compiler directives

* Remove compiler directive for User Data
2023-02-03 18:10:07 -08:00

51 lines
1.5 KiB
C#

//
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
//
#nullable disable
using System;
namespace Microsoft.SqlTools.ServiceLayer.Agent.Contracts
{
[Flags]
public enum WeekDays
{
Sunday = 1,
Monday = 2,
Tuesday = 4,
Wednesday = 8,
Thursday = 16,
Friday = 32,
WeekDays = 62,
Saturday = 64,
WeekEnds = 65,
EveryDay = 127
}
/// <summary>
/// a class for storing various properties of agent operators
/// </summary>
public class AgentOperatorInfo
{
public string Name { get; set; }
public int Id { get; set; }
public string EmailAddress { get; set; }
public bool Enabled { get; set; }
public string LastEmailDate { get; set; }
public string LastNetSendDate { get; set; }
public string LastPagerDate { get; set; }
public string PagerAddress { get; set; }
public string CategoryName { get; set; }
public WeekDays PagerDays { get; set; }
public string SaturdayPagerEndTime { get; set; }
public string SaturdayPagerStartTime { get; set; }
public string SundayPagerEndTime { get; set; }
public string SundayPagerStartTime { get; set; }
public string NetSendAddress { get; set; }
public string WeekdayPagerStartTime { get; set; }
public string WeekdayPagerEndTime { get; set; }
}
}