| | | 1 | | using System.Text.Json.Serialization; |
| | | 2 | | using ArturRios.Heimdall.Shared.Security; |
| | | 3 | | using ArturRios.Mediator.Query; |
| | | 4 | | |
| | | 5 | | namespace ArturRios.Heimdall.Query.Input; |
| | | 6 | | |
| | | 7 | | /// <summary> |
| | | 8 | | /// Request to list the Google Users of a scope, with pagination and optional filtering (UC-27, |
| | | 9 | | /// FR-GO-14). <see cref="ScopeId" /> comes from the route; |
| | | 10 | | /// <see cref="ActingPersonId" />/<see cref="ActingRole" /> are set by the controller from the |
| | | 11 | | /// authenticated caller and are never taken from the request. All three are |
| | | 12 | | /// <c>[JsonIgnore]</c>, which <c>ServerPopulatedBindingMetadataProvider</c> turns into |
| | | 13 | | /// "not bindable", so they never reach the public contract. |
| | | 14 | | /// </summary> |
| | | 15 | | public class ListScopeGoogleUsersQuery : BaseQuery, IActorScoped |
| | | 16 | | { |
| | | 17 | | /// <summary>Public identifier of the scope whose Google Users are listed (assigned from the route).</summary> |
| | | 18 | | [JsonIgnore] |
| | 31 | 19 | | public Guid ScopeId { get; set; } |
| | | 20 | | |
| | | 21 | | /// <summary>Optional case-insensitive substring filter on the Google User's name.</summary> |
| | 37 | 22 | | public string? Name { get; set; } |
| | | 23 | | |
| | | 24 | | /// <summary>Optional case-insensitive substring filter on the Google User's email.</summary> |
| | 37 | 25 | | public string? Email { get; set; } |
| | | 26 | | |
| | | 27 | | /// <summary>When <c>true</c>, logically deleted Google Users are included (FR-GO-17).</summary> |
| | 19 | 28 | | public bool IncludeDeleted { get; set; } |
| | | 29 | | |
| | | 30 | | [JsonIgnore] |
| | 28 | 31 | | public Guid ActingPersonId { get; set; } |
| | | 32 | | |
| | | 33 | | [JsonIgnore] |
| | 28 | 34 | | public int ActingRole { get; set; } |
| | | 35 | | } |