using System; namespace Kreta.Client.FileService.Response { public class FileDeleteResponse : IResponse { public FileDeleteResponse() { IsSuccess = true; } public FileDeleteResponse(bool tryAgain) { TryAgain = tryAgain; } public FileDeleteResponse(string error) { if (string.IsNullOrWhiteSpace(error)) { throw new ArgumentNullException(nameof(error)); } Error = error; } public bool IsSuccess { get; } public string Error { get; } public bool TryAgain { get; } } }