//------------------------------------------------------------------------------ // // This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. // // Changes to this file may cause incorrect behavior and will be lost when // the code is regenerated. // //------------------------------------------------------------------------------ #nullable enable namespace LukeHagar.PlexAPI.SDK.Models.Requests { using LukeHagar.PlexAPI.SDK.Models.Requests; using LukeHagar.PlexAPI.SDK.Utils; using Newtonsoft.Json; using NodaTime; using System.Collections.Generic; /// /// Unknown
/// /// /// /// ///
public class GetRecentlyAddedMetadata { [JsonProperty("addedAt")] public long AddedAt { get; set; } = default!; /// /// The art image URL for the media item. /// [JsonProperty("art")] public string Art { get; set; } = default!; /// /// The URL for the audience rating image. /// [JsonProperty("audienceRatingImage")] public string? AudienceRatingImage { get; set; } /// /// The audience rating for the media item. /// [JsonProperty("audienceRating")] public double AudienceRating { get; set; } = default!; /// /// The source from which chapter data is derived. /// [JsonProperty("chapterSource")] public string? ChapterSource { get; set; } /// /// The number of child items associated with this media item. /// [JsonProperty("childCount")] public int ChildCount { get; set; } = default!; /// /// The content rating for the media item. /// [JsonProperty("contentRating")] public string? ContentRating { get; set; } /// /// The accuracy of the creation timestamp. This value indicates the format(s) provided (for example, 'epoch,local' means both epoch and local time formats are available). /// [JsonProperty("createdAtAccuracy")] public string? CreatedAtAccuracy { get; set; } /// /// The time zone offset for the creation timestamp, represented as a string. This offset indicates the difference from UTC. /// [JsonProperty("createdAtTZOffset")] public string? CreatedAtTZOffset { get; set; } /// /// The duration of the media item in milliseconds. /// [JsonProperty("duration")] public int Duration { get; set; } = default!; /// /// The art URL for the grandparent media item. /// [JsonProperty("grandparentArt")] public string? GrandparentArt { get; set; } /// /// The GUID of the grandparent media item. /// [JsonProperty("grandparentGuid")] public string? GrandparentGuid { get; set; } /// /// The key of the grandparent media item. /// [JsonProperty("grandparentKey")] public string? GrandparentKey { get; set; } /// /// The rating key of the grandparent media item. /// [JsonProperty("grandparentRatingKey")] public string? GrandparentRatingKey { get; set; } /// /// The slug for the grandparent media item. /// [JsonProperty("grandparentSlug")] public string? GrandparentSlug { get; set; } /// /// The theme URL for the grandparent media item. /// [JsonProperty("grandparentTheme")] public string? GrandparentTheme { get; set; } /// /// The thumbnail URL for the grandparent media item. /// [JsonProperty("grandparentThumb")] public string? GrandparentThumb { get; set; } /// /// The title of the grandparent media item. /// [JsonProperty("grandparentTitle")] public string? GrandparentTitle { get; set; } /// /// The globally unique identifier for the media item. /// [JsonProperty("guid")] public string Guid { get; set; } = default!; /// /// The index position of the media item. /// [JsonProperty("index")] public int Index { get; set; } = default!; /// /// The unique key for the media item. /// [JsonProperty("key")] public string Key { get; set; } = default!; /// /// The Unix timestamp representing the last time the item was rated. /// [JsonProperty("lastRatedAt")] public long? LastRatedAt { get; set; } /// /// Unix timestamp for when the media item was last viewed. /// [JsonProperty("lastViewedAt")] public int? LastViewedAt { get; set; } /// /// The number of leaf items (end nodes) under this media item. /// [JsonProperty("leafCount")] public int? LeafCount { get; set; } /// /// The identifier for the library section. /// [JsonProperty("librarySectionID")] public long? LibrarySectionID { get; set; } /// /// The key corresponding to the library section. /// [JsonProperty("librarySectionKey")] public string? LibrarySectionKey { get; set; } /// /// The title of the library section. /// [JsonProperty("librarySectionTitle")] public string? LibrarySectionTitle { get; set; } /// /// The original title of the media item (if different). /// [JsonProperty("originalTitle")] public string? OriginalTitle { get; set; } /// /// The original release date of the media item. /// [JsonProperty("originallyAvailableAt")] public LocalDate? OriginallyAvailableAt { get; set; } /// /// The GUID of the parent media item. /// [JsonProperty("parentGuid")] public string? ParentGuid { get; set; } /// /// The index position of the parent media item. /// [JsonProperty("parentIndex")] public int? ParentIndex { get; set; } /// /// The key of the parent media item. /// [JsonProperty("parentKey")] public string? ParentKey { get; set; } /// /// The rating key of the parent media item. /// [JsonProperty("parentRatingKey")] public string? ParentRatingKey { get; set; } /// /// The slug for the parent media item. /// [JsonProperty("parentSlug")] public string? ParentSlug { get; set; } /// /// The studio of the parent media item. /// [JsonProperty("parentStudio")] public string ParentStudio { get; set; } = default!; /// /// The theme URL for the parent media item. /// [JsonProperty("parentTheme")] public string ParentTheme { get; set; } = default!; /// /// The thumbnail URL for the parent media item. /// [JsonProperty("parentThumb")] public string? ParentThumb { get; set; } /// /// The title of the parent media item. /// [JsonProperty("parentTitle")] public string? ParentTitle { get; set; } /// /// The release year of the parent media item. /// [JsonProperty("parentYear")] public int? ParentYear { get; set; } /// /// The primary extra key associated with this media item. /// [JsonProperty("primaryExtraKey")] public string? PrimaryExtraKey { get; set; } /// /// The URL for the rating image. /// [JsonProperty("ratingImage")] public string? RatingImage { get; set; } /// /// The rating key (Media ID) of this media item. Note: Although this is always an integer, it is represented as a string in the API. /// [JsonProperty("ratingKey")] public string RatingKey { get; set; } = default!; /// /// The critic rating for the media item. /// [JsonProperty("rating")] public float Rating { get; set; } = default!; /// /// The total number of seasons (for TV shows). /// [JsonProperty("seasonCount")] public int SeasonCount { get; set; } = default!; /// /// The number of times this media item has been skipped. /// [JsonProperty("skipCount")] public int? SkipCount { get; set; } /// /// A URL‐friendly version of the media title. /// [JsonProperty("slug")] public string Slug { get; set; } = default!; /// /// The studio that produced the media item. /// [JsonProperty("studio")] public string? Studio { get; set; } /// /// A classification that further describes the type of media item. For example, 'clip' indicates that the item is a short video clip. /// [JsonProperty("subtype")] public string? Subtype { get; set; } /// /// A synopsis of the media item. /// [JsonProperty("summary")] public string Summary { get; set; } = default!; /// /// A brief tagline for the media item. /// [JsonProperty("tagline")] public string Tagline { get; set; } = default!; /// /// The theme URL for the media item. /// [JsonProperty("theme")] public string Theme { get; set; } = default!; /// /// The thumbnail image URL for the media item. /// [JsonProperty("thumb")] public string Thumb { get; set; } = default!; /// /// The sort title used for ordering media items. /// [JsonProperty("titleSort")] public string TitleSort { get; set; } = default!; /// /// The title of the media item. /// [JsonProperty("title")] public string Title { get; set; } = default!; [JsonProperty("type")] public GetRecentlyAddedHubsType Type { get; set; } = default!; /// /// Unix epoch datetime in seconds /// [JsonProperty("updatedAt")] public long? UpdatedAt { get; set; } /// /// The rating provided by a user for the item. This value is expressed as a decimal number. /// [JsonProperty("userRating")] public float? UserRating { get; set; } /// /// The number of times this media item has been viewed. /// [JsonProperty("viewCount")] public int? ViewCount { get; set; } /// /// The current playback offset (in milliseconds). /// [JsonProperty("viewOffset")] public int? ViewOffset { get; set; } /// /// The number of leaf items that have been viewed. /// [JsonProperty("viewedLeafCount")] public int? ViewedLeafCount { get; set; } /// /// The release year of the media item. /// [JsonProperty("year")] public int? Year { get; set; } [JsonProperty("Image")] public List? Image { get; set; } [JsonProperty("UltraBlurColors")] public UltraBlurColors? UltraBlurColors { get; set; } [JsonProperty("Guid")] public List? Guids { get; set; } [JsonProperty("Media")] public List? Media { get; set; } [JsonProperty("Genre")] public List? Genre { get; set; } [JsonProperty("Country")] public List? Country { get; set; } [JsonProperty("Director")] public List? Director { get; set; } [JsonProperty("Writer")] public List? Writer { get; set; } [JsonProperty("Role")] public List? Role { get; set; } [JsonProperty("Producer")] public List? Producer { get; set; } [JsonProperty("Rating")] public List? Rating1 { get; set; } [JsonProperty("Similar")] public List? Similar { get; set; } [JsonProperty("Location")] public List? Location { get; set; } [JsonProperty("Collection")] public List? Collection { get; set; } } }