using Newtonsoft.Json; using Newtonsoft.Json.Converters; namespace PepperDash.Essentials.Devices.Common.Codec { /// /// Represents a ContactMethod /// public class ContactMethod { /// /// Gets or sets the ContactMethodId /// [JsonProperty("contactMethodId")] public string ContactMethodId { get; set; } /// /// Gets or sets the Number /// [JsonProperty("number")] public string Number { get; set; } /// /// Gets or sets the Device /// [JsonProperty("device")] [JsonConverter(typeof(StringEnumConverter))] public eContactMethodDevice Device { get; set; } /// /// Gets or sets the CallType /// [JsonProperty("callType")] [JsonConverter(typeof(StringEnumConverter))] public eContactMethodCallType CallType { get; set; } } }