using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace IOB_MAN { public class SupportRequest { #region Public Properties public string CodApp { get; set; } = ""; public string CodImp { get; set; } = ""; public string CodInst { get; set; } = ""; public string ContactEmail { get; set; } = ""; public string ContactName { get; set; } = ""; public string ContactPhone { get; set; } = ""; public int idxSubLic { get; set; } = 0; public TipologiaTicket Tipo { get; set; } = TipologiaTicket.ND; public bool IsValid { get => !string.IsNullOrEmpty(MasterKey) && !string.IsNullOrEmpty(ContactEmail) && !string.IsNullOrEmpty(CodInst) && !string.IsNullOrEmpty(CodApp); } public string MasterKey { get; set; } = ""; public string ReqBody { get; set; } = ""; #endregion Public Properties } }