| | | 1 | | using ArturRios.Mediator.Command; |
| | | 2 | | |
| | | 3 | | namespace ArturRios.Heimdall.Command.Output; |
| | | 4 | | |
| | | 5 | | /// <summary> |
| | | 6 | | /// Result of <see cref="Input.DeleteScopePermissionCommand" /> (UC-34). Reports the permission's |
| | | 7 | | /// <c>PublicId</c> and whether the request was the idempotent no-op of AF-34b. Internal Ids |
| | | 8 | | /// never leave the data layer. |
| | | 9 | | /// </summary> |
| | | 10 | | public class DeleteScopePermissionCommandOutput : CommandOutput |
| | | 11 | | { |
| | | 12 | | /// <summary>Public identifier of the deleted permission.</summary> |
| | 32 | 13 | | public Guid Id { get; set; } |
| | | 14 | | |
| | | 15 | | /// <summary> |
| | | 16 | | /// <c>true</c> when the permission was already logically deleted and nothing was written |
| | | 17 | | /// (AF-34b); <c>false</c> when this request performed the deletion. AF-34b answers with the |
| | | 18 | | /// same status and message as the main flow, so this flag is what tells them apart. |
| | | 19 | | /// </summary> |
| | 32 | 20 | | public bool AlreadyDeleted { get; set; } |
| | | 21 | | } |