using System;
using System.Collections.Generic;
using System.Text.Json.Serialization;
namespace Jellyfin.Plugin.Chaosflix.Api.Models;
///
/// CCC API conference (e.g. 38C3, Camp 2019).
///
public class CccConference
{
/// Gets or sets the acronym (e.g. "38c3").
[JsonPropertyName("acronym")]
public string Acronym { get; set; } = string.Empty;
/// Gets or sets the title.
[JsonPropertyName("title")]
public string Title { get; set; } = string.Empty;
/// Gets or sets the description.
[JsonPropertyName("description")]
public string? Description { get; set; }
/// Gets or sets the slug.
[JsonPropertyName("slug")]
public string Slug { get; set; } = string.Empty;
/// Gets or sets the logo URL.
[JsonPropertyName("logo_url")]
public string? LogoUrl { get; set; }
/// Gets or sets the aspect ratio.
[JsonPropertyName("aspect_ratio")]
public string? AspectRatio { get; set; }
/// Gets or sets the API URL.
[JsonPropertyName("url")]
public string Url { get; set; } = string.Empty;
/// Gets or sets the last released event date.
[JsonPropertyName("event_last_released_at")]
public DateTimeOffset? EventLastReleasedAt { get; set; }
/// Gets or sets the events (only present in detail response).
[JsonPropertyName("events")]
public List? Events { get; set; }
}
///
/// Wrapper for conference list response.
///
public class CccConferencesResponse
{
/// Gets or sets the conferences.
[JsonPropertyName("conferences")]
public List Conferences { get; set; } = new();
}