DocSpace-buildtools/web/ASC.Web.Api/ApiModels/RequestsDto/SmtpOperationStatusRequestsDto.cs

24 lines
623 B
C#
Raw Normal View History

2022-03-01 10:58:02 +00:00
namespace ASC.Api.Settings.Smtp;
2022-03-15 10:00:41 +00:00
public class SmtpOperationStatusRequestsDto
2019-08-12 10:53:12 +00:00
{
2022-03-01 10:58:02 +00:00
public bool Completed { get; set; }
public string Id { get; set; }
public string Status { get; set; }
public string Error { get; set; }
public int Percents { get; set; }
public string Source { get; set; }
2019-08-12 10:53:12 +00:00
2022-03-15 10:00:41 +00:00
public static SmtpOperationStatusRequestsDto GetSample()
2022-03-01 10:58:02 +00:00
{
2022-03-15 10:00:41 +00:00
return new SmtpOperationStatusRequestsDto
2019-08-12 10:53:12 +00:00
{
2022-03-01 10:58:02 +00:00
Id = "{some-random-guid}",
Error = "",
Percents = 0,
Completed = true,
Status = "",
Source = ""
};
2019-08-12 10:53:12 +00:00
}
2019-06-11 15:20:04 +00:00
}