Filtered => ValidImage GetMappings => if (face.FaceEncoding is null || face.Location is null || face.OutputResolution is null) PreFilter skip done Removed sort Better names break out RootAmazon FilteredOriginalImage DeleteContinueFiles AppSetting PreVerify Settings Tasks
19 lines
818 B
C#
19 lines
818 B
C#
using System.Text.Json.Serialization;
|
|
|
|
namespace View_by_Distance.Shared.Models;
|
|
|
|
public record Aggregations(
|
|
[property: JsonPropertyName("allPeople")] IReadOnlyList<AllPerson> AllPeople,
|
|
[property: JsonPropertyName("clusterId")] IReadOnlyList<ClusterId> ClusterId,
|
|
[property: JsonPropertyName("location")] IReadOnlyList<LocationAmazon> Location,
|
|
[property: JsonPropertyName("people")] IReadOnlyList<PersonAmazon> People,
|
|
[property: JsonPropertyName("things")] IReadOnlyList<Thing> Things,
|
|
[property: JsonPropertyName("time")] IReadOnlyList<Time> Time,
|
|
[property: JsonPropertyName("type")] IReadOnlyList<Type> Type
|
|
);
|
|
|
|
[JsonSourceGenerationOptions(WriteIndented = true)]
|
|
[JsonSerializable(typeof(Aggregations))]
|
|
public partial class AggregationsGenerationContext : JsonSerializerContext
|
|
{
|
|
} |