//------------------------------------------------------------------------------ // // 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; public class GetMediaMetaDataMetadata { /// /// The rating key of the metadata item. /// [JsonProperty("ratingKey")] public string RatingKey { get; set; } = default!; /// /// The rating key of the parent of this metadata item. /// [JsonProperty("parentRatingKey")] public string? ParentRatingKey { get; set; } /// /// The rating key of the grandparent of this metadata item. /// [JsonProperty("grandparentRatingKey")] public string? GrandparentRatingKey { get; set; } /// /// A GUID identifying the parent entity (e.g., season) for the item. /// [JsonProperty("parentGuid")] public string? ParentGuid { get; set; } /// /// A GUID identifying the grandparent entity (e.g., show). /// [JsonProperty("grandparentGuid")] public string? GrandparentGuid { get; set; } /// /// A URL-friendly identifier (slug) for the grandparent entity. /// [JsonProperty("grandparentSlug")] public string? GrandparentSlug { get; set; } /// /// A key identifying the grandparent metadata in the library. /// [JsonProperty("grandparentKey")] public string? GrandparentKey { get; set; } /// /// A key identifying the parent metadata in the library. /// [JsonProperty("parentKey")] public string? ParentKey { get; set; } /// /// The API key to access metadata details. /// [JsonProperty("key")] public string Key { get; set; } = default!; /// /// The globally unique identifier for the item. /// [JsonProperty("guid")] public string Guid { get; set; } = default!; /// /// A URL-friendly identifier for the item. /// [JsonProperty("slug")] public string? Slug { get; set; } /// /// The studio that produced the content. /// [JsonProperty("studio")] public string? Studio { get; set; } /// /// The type of content (e.g., show, movie). /// [JsonProperty("type")] public string Type { get; set; } = default!; /// /// The title of the content. /// [JsonProperty("title")] public string Title { get; set; } = default!; /// /// The original title of the content. /// [JsonProperty("originalTitle")] public string? OriginalTitle { get; set; } /// /// The title of the library section. /// [JsonProperty("librarySectionTitle")] public string LibrarySectionTitle { get; set; } = default!; /// /// The ID of the library section. /// [JsonProperty("librarySectionID")] public long LibrarySectionID { get; set; } = default!; /// /// The key of the library section. /// [JsonProperty("librarySectionKey")] public string LibrarySectionKey { get; set; } = default!; /// /// The content rating (e.g., TV-MA). /// [JsonProperty("contentRating")] public string ContentRating { get; set; } = default!; /// /// A summary of the content. /// [JsonProperty("summary")] public string Summary { get; set; } = default!; /// /// The index or order of the item. /// [JsonProperty("index")] public long? Index { get; set; } /// /// The title of the grandparent entity (typically the show's title). /// [JsonProperty("grandparentTitle")] public string? GrandparentTitle { get; set; } /// /// The title of the parent entity (typically the season's title). /// [JsonProperty("parentTitle")] public string? ParentTitle { get; set; } /// /// The audience rating for the content. /// [JsonProperty("audienceRating")] public float AudienceRating { get; set; } = default!; /// /// The number of times the item has been viewed. /// [JsonProperty("viewCount")] public long? ViewCount { get; set; } /// /// The number of times the item has been skipped. /// [JsonProperty("skipCount")] public long? SkipCount { get; set; } /// /// Unix timestamp of when the item was last viewed. /// [JsonProperty("lastViewedAt")] public long? LastViewedAt { get; set; } /// /// The release year. /// [JsonProperty("year")] public long Year { get; set; } = default!; /// /// The tagline of the content. /// [JsonProperty("tagline")] public string? Tagline { get; set; } [JsonProperty("chapterSource")] public string? ChapterSource { get; set; } [JsonProperty("primaryExtraKey")] public string? PrimaryExtraKey { get; set; } /// /// URL of the thumbnail image. /// [JsonProperty("thumb")] public string Thumb { get; set; } = default!; /// /// URL of the art image. /// [JsonProperty("art")] public string Art { get; set; } = default!; /// /// URL of the theme image. /// [JsonProperty("theme")] public string? Theme { get; set; } /// /// Duration of the content in milliseconds. /// [JsonProperty("duration")] public long Duration { get; set; } = default!; /// /// The original release date. /// [JsonProperty("originallyAvailableAt")] public LocalDate OriginallyAvailableAt { get; set; } = default!; /// /// The total number of episodes (or leaves). /// [JsonProperty("leafCount")] public long? LeafCount { get; set; } /// /// The number of episodes that have been viewed. /// [JsonProperty("viewedLeafCount")] public long? ViewedLeafCount { get; set; } /// /// The number of child items. /// [JsonProperty("childCount")] public long? ChildCount { get; set; } /// /// Unix timestamp when the item was added. /// [JsonProperty("addedAt")] public long AddedAt { get; set; } = default!; /// /// Unix timestamp when the item was last updated. /// [JsonProperty("updatedAt")] public long UpdatedAt { get; set; } = default!; /// /// The URL for the audience rating image. /// [JsonProperty("audienceRatingImage")] public string AudienceRatingImage { get; set; } = default!; /// /// The index number of the parent entity, which could indicate its order or position. /// [JsonProperty("parentIndex")] public long? ParentIndex { get; set; } /// /// The URL of the parent's thumbnail image. /// [JsonProperty("parentThumb")] public string? ParentThumb { get; set; } /// /// The URL of the grandparent's thumbnail image. /// [JsonProperty("grandparentThumb")] public string? GrandparentThumb { get; set; } /// /// The URL of the grandparent's art image. /// [JsonProperty("grandparentArt")] public string? GrandparentArt { get; set; } [JsonProperty("Media")] public List? Media { get; set; } /// /// An array of image objects. /// [JsonProperty("Image")] public List Image { get; set; } = default!; [JsonProperty("UltraBlurColors")] public GetMediaMetaDataUltraBlurColors UltraBlurColors { get; set; } = default!; /// /// An array of genre tags. /// [JsonProperty("Genre")] public List? Genre { get; set; } /// /// An array of country tags. /// [JsonProperty("Country")] public List? Country { get; set; } /// /// An array of GUID objects. /// [JsonProperty("Guid")] public List Guids { get; set; } = default!; /// /// An array of rating objects. /// [JsonProperty("Rating")] public List Rating { get; set; } = default!; /// /// An array of Actor roles. /// [JsonProperty("Role")] public List? Role { get; set; } /// /// An array of Director roles. /// [JsonProperty("Director")] public List? Director { get; set; } /// /// An array of Writer roles. /// [JsonProperty("Writer")] public List? Writer { get; set; } /// /// An array of Writer roles. /// [JsonProperty("Producer")] public List? Producer { get; set; } /// /// An array of similar content objects. /// [JsonProperty("Similar")] public List? Similar { get; set; } /// /// An array of location objects. /// [JsonProperty("Location")] public List? Location { get; set; } } }