using System.Text.Json.Serialization; namespace Band.Models.Photos; public record Paging( [property: JsonPropertyName("next_params")] NextParams NextParams, [property: JsonPropertyName("previous_params")] object PreviousParams ); [JsonSourceGenerationOptions(WriteIndented = true)] [JsonSerializable(typeof(Paging))] public partial class PhotosPagingSourceGenerationContext : JsonSerializerContext { }