| | | 1 | | using ArturRios.Mediator.Command; |
| | | 2 | | |
| | | 3 | | namespace ArturRios.Heimdall.Command.Output; |
| | | 4 | | |
| | | 5 | | /// <summary> |
| | | 6 | | /// Result of <see cref="Input.DeleteScopeCommand" /> (UC-04). Reports the deleted scope's |
| | | 7 | | /// <c>PublicId</c> and the totals of its Users, Google Users, and applications — counted |
| | | 8 | | /// regardless of their individual deletion state. Internal Ids never leave the data layer. |
| | | 9 | | /// </summary> |
| | | 10 | | public class DeleteScopeCommandOutput : CommandOutput |
| | | 11 | | { |
| | | 12 | | /// <summary>Public identifier of the deleted scope.</summary> |
| | 19 | 13 | | public Guid Id { get; set; } |
| | | 14 | | |
| | | 15 | | /// <summary> |
| | | 16 | | /// Total number of Users (via SCOPE_USER) belonging to the scope. A total, not a count of |
| | | 17 | | /// what this call deleted: on the AF-04b idempotent path nothing is written and this is |
| | | 18 | | /// still reported. |
| | | 19 | | /// </summary> |
| | 17 | 20 | | public int UserCount { get; set; } |
| | | 21 | | |
| | | 22 | | /// <summary>Total number of Google Users belonging to the scope.</summary> |
| | 16 | 23 | | public int GoogleUserCount { get; set; } |
| | | 24 | | |
| | | 25 | | /// <summary>Total number of applications belonging to the scope.</summary> |
| | 18 | 26 | | public int ApplicationCount { get; set; } |
| | | 27 | | } |