mirror of
https://github.com/LukeHagar/plexcsharp.git
synced 2025-12-06 12:37:46 +00:00
ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.541.2
This commit is contained in:
@@ -15,254 +15,165 @@ namespace LukeHagar.PlexAPI.SDK.Models.Requests
|
||||
using NodaTime;
|
||||
using System.Collections.Generic;
|
||||
|
||||
/// <summary>
|
||||
/// Unknown<br/>
|
||||
///
|
||||
/// <remarks>
|
||||
///
|
||||
/// </remarks>
|
||||
/// </summary>
|
||||
public class GetMediaMetaDataMetadata
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// The rating key of the metadata item.
|
||||
/// 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.
|
||||
/// </summary>
|
||||
[JsonProperty("ratingKey")]
|
||||
public string RatingKey { get; set; } = default!;
|
||||
|
||||
/// <summary>
|
||||
/// The rating key of the parent of this metadata item.
|
||||
/// </summary>
|
||||
[JsonProperty("parentRatingKey")]
|
||||
public string? ParentRatingKey { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// The rating key of the grandparent of this metadata item.
|
||||
/// </summary>
|
||||
[JsonProperty("grandparentRatingKey")]
|
||||
public string? GrandparentRatingKey { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// A GUID identifying the parent entity (e.g., season) for the item.
|
||||
/// </summary>
|
||||
[JsonProperty("parentGuid")]
|
||||
public string? ParentGuid { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// A GUID identifying the grandparent entity (e.g., show).
|
||||
/// </summary>
|
||||
[JsonProperty("grandparentGuid")]
|
||||
public string? GrandparentGuid { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// A URL-friendly identifier (slug) for the grandparent entity.
|
||||
/// </summary>
|
||||
[JsonProperty("grandparentSlug")]
|
||||
public string? GrandparentSlug { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// A key identifying the grandparent metadata in the library.
|
||||
/// </summary>
|
||||
[JsonProperty("grandparentKey")]
|
||||
public string? GrandparentKey { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// A key identifying the parent metadata in the library.
|
||||
/// </summary>
|
||||
[JsonProperty("parentKey")]
|
||||
public string? ParentKey { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// The API key to access metadata details.
|
||||
/// The unique key for the media item.
|
||||
/// </summary>
|
||||
[JsonProperty("key")]
|
||||
public string Key { get; set; } = default!;
|
||||
|
||||
/// <summary>
|
||||
/// The globally unique identifier for the item.
|
||||
/// The globally unique identifier for the media item.
|
||||
/// </summary>
|
||||
[JsonProperty("guid")]
|
||||
public string Guid { get; set; } = default!;
|
||||
|
||||
/// <summary>
|
||||
/// A URL-friendly identifier for the item.
|
||||
/// A URL‐friendly version of the media title.
|
||||
/// </summary>
|
||||
[JsonProperty("slug")]
|
||||
public string? Slug { get; set; }
|
||||
public string Slug { get; set; } = default!;
|
||||
|
||||
/// <summary>
|
||||
/// The studio that produced the content.
|
||||
/// The studio that produced the media item.
|
||||
/// </summary>
|
||||
[JsonProperty("studio")]
|
||||
public string? Studio { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// The type of content (e.g., show, movie).
|
||||
/// </summary>
|
||||
[JsonProperty("type")]
|
||||
public string Type { get; set; } = default!;
|
||||
public GetMediaMetaDataType Type { get; set; } = default!;
|
||||
|
||||
/// <summary>
|
||||
/// The title of the content.
|
||||
/// The title of the media item.
|
||||
/// </summary>
|
||||
[JsonProperty("title")]
|
||||
public string Title { get; set; } = default!;
|
||||
|
||||
/// <summary>
|
||||
/// The original title of the content.
|
||||
/// The sort title used for ordering media items.
|
||||
/// </summary>
|
||||
[JsonProperty("originalTitle")]
|
||||
public string? OriginalTitle { get; set; }
|
||||
[JsonProperty("titleSort")]
|
||||
public string TitleSort { get; set; } = default!;
|
||||
|
||||
/// <summary>
|
||||
/// The title of the library section.
|
||||
/// </summary>
|
||||
[JsonProperty("librarySectionTitle")]
|
||||
public string LibrarySectionTitle { get; set; } = default!;
|
||||
|
||||
/// <summary>
|
||||
/// The ID of the library section.
|
||||
/// </summary>
|
||||
[JsonProperty("librarySectionID")]
|
||||
public long LibrarySectionID { get; set; } = default!;
|
||||
|
||||
/// <summary>
|
||||
/// The key of the library section.
|
||||
/// </summary>
|
||||
[JsonProperty("librarySectionKey")]
|
||||
public string LibrarySectionKey { get; set; } = default!;
|
||||
|
||||
/// <summary>
|
||||
/// The content rating (e.g., TV-MA).
|
||||
/// The content rating for the media item.
|
||||
/// </summary>
|
||||
[JsonProperty("contentRating")]
|
||||
public string? ContentRating { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// A summary of the content.
|
||||
/// A synopsis of the media item.
|
||||
/// </summary>
|
||||
[JsonProperty("summary")]
|
||||
public string Summary { get; set; } = default!;
|
||||
|
||||
/// <summary>
|
||||
/// The index or order of the item.
|
||||
/// </summary>
|
||||
[JsonProperty("index")]
|
||||
public long? Index { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// The title of the grandparent entity (typically the show's title).
|
||||
/// </summary>
|
||||
[JsonProperty("grandparentTitle")]
|
||||
public string? GrandparentTitle { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// The title of the parent entity (typically the season's title).
|
||||
/// </summary>
|
||||
[JsonProperty("parentTitle")]
|
||||
public string? ParentTitle { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// The audience rating for the content.
|
||||
/// </summary>
|
||||
[JsonProperty("audienceRating")]
|
||||
public float? AudienceRating { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// The number of times the item has been viewed.
|
||||
/// </summary>
|
||||
[JsonProperty("viewCount")]
|
||||
public long? ViewCount { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// The number of times the item has been skipped.
|
||||
/// </summary>
|
||||
[JsonProperty("skipCount")]
|
||||
public long? SkipCount { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Unix timestamp of when the item was last viewed.
|
||||
/// </summary>
|
||||
[JsonProperty("lastViewedAt")]
|
||||
public long? LastViewedAt { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// The release year.
|
||||
/// </summary>
|
||||
[JsonProperty("year")]
|
||||
public int Year { get; set; } = default!;
|
||||
|
||||
/// <summary>
|
||||
/// The general rating
|
||||
/// The critic rating for the media item.
|
||||
/// </summary>
|
||||
[JsonProperty("rating")]
|
||||
public float? Rating { get; set; }
|
||||
public float Rating { get; set; } = default!;
|
||||
|
||||
/// <summary>
|
||||
/// The URL or identifier for the rating image (e.g., Rotten Tomatoes rating image).
|
||||
/// The audience rating for the media item.
|
||||
/// </summary>
|
||||
[JsonProperty("ratingImage")]
|
||||
public string? RatingImage { get; set; }
|
||||
[JsonProperty("audienceRating")]
|
||||
public double AudienceRating { get; set; } = default!;
|
||||
|
||||
/// <summary>
|
||||
/// The tagline of the content.
|
||||
/// The release year of the media item.
|
||||
/// </summary>
|
||||
[JsonProperty("year")]
|
||||
public int? Year { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// A brief tagline for the media item.
|
||||
/// </summary>
|
||||
[JsonProperty("tagline")]
|
||||
public string? Tagline { get; set; }
|
||||
|
||||
[JsonProperty("chapterSource")]
|
||||
public string? ChapterSource { get; set; }
|
||||
|
||||
[JsonProperty("primaryExtraKey")]
|
||||
public string? PrimaryExtraKey { get; set; }
|
||||
public string Tagline { get; set; } = default!;
|
||||
|
||||
/// <summary>
|
||||
/// URL of the thumbnail image.
|
||||
/// The thumbnail image URL for the media item.
|
||||
/// </summary>
|
||||
[JsonProperty("thumb")]
|
||||
public string Thumb { get; set; } = default!;
|
||||
|
||||
/// <summary>
|
||||
/// URL of the art image.
|
||||
/// The art image URL for the media item.
|
||||
/// </summary>
|
||||
[JsonProperty("art")]
|
||||
public string Art { get; set; } = default!;
|
||||
|
||||
/// <summary>
|
||||
/// URL of the theme image.
|
||||
/// The theme URL for the media item.
|
||||
/// </summary>
|
||||
[JsonProperty("theme")]
|
||||
public string? Theme { get; set; }
|
||||
public string Theme { get; set; } = default!;
|
||||
|
||||
/// <summary>
|
||||
/// Duration of the content in milliseconds.
|
||||
/// The index position of the media item.
|
||||
/// </summary>
|
||||
[JsonProperty("index")]
|
||||
public int Index { get; set; } = default!;
|
||||
|
||||
/// <summary>
|
||||
/// The number of leaf items (end nodes) under this media item.
|
||||
/// </summary>
|
||||
[JsonProperty("leafCount")]
|
||||
public int? LeafCount { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// The number of leaf items that have been viewed.
|
||||
/// </summary>
|
||||
[JsonProperty("viewedLeafCount")]
|
||||
public int? ViewedLeafCount { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// The number of child items associated with this media item.
|
||||
/// </summary>
|
||||
[JsonProperty("childCount")]
|
||||
public int ChildCount { get; set; } = default!;
|
||||
|
||||
/// <summary>
|
||||
/// The total number of seasons (for TV shows).
|
||||
/// </summary>
|
||||
[JsonProperty("seasonCount")]
|
||||
public int SeasonCount { get; set; } = default!;
|
||||
|
||||
/// <summary>
|
||||
/// The duration of the media item in milliseconds.
|
||||
/// </summary>
|
||||
[JsonProperty("duration")]
|
||||
public int Duration { get; set; } = default!;
|
||||
|
||||
/// <summary>
|
||||
/// The original release date.
|
||||
/// The original release date of the media item.
|
||||
/// </summary>
|
||||
[JsonProperty("originallyAvailableAt")]
|
||||
public LocalDate? OriginallyAvailableAt { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// The total number of episodes (or leaves).
|
||||
/// </summary>
|
||||
[JsonProperty("leafCount")]
|
||||
public long? LeafCount { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// The number of episodes that have been viewed.
|
||||
/// </summary>
|
||||
[JsonProperty("viewedLeafCount")]
|
||||
public long? ViewedLeafCount { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// The number of child items.
|
||||
/// </summary>
|
||||
[JsonProperty("childCount")]
|
||||
public int? ChildCount { get; set; }
|
||||
public LocalDate OriginallyAvailableAt { get; set; } = default!;
|
||||
|
||||
[JsonProperty("addedAt")]
|
||||
public long AddedAt { get; set; } = default!;
|
||||
|
||||
/// <summary>
|
||||
/// Unix epoch datetime in seconds
|
||||
/// </summary>
|
||||
[JsonProperty("updatedAt")]
|
||||
public long UpdatedAt { get; set; } = default!;
|
||||
public long? UpdatedAt { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// The URL for the audience rating image.
|
||||
@@ -271,99 +182,231 @@ namespace LukeHagar.PlexAPI.SDK.Models.Requests
|
||||
public string? AudienceRatingImage { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// The index number of the parent entity, which could indicate its order or position.
|
||||
/// The source from which chapter data is derived.
|
||||
/// </summary>
|
||||
[JsonProperty("parentIndex")]
|
||||
public long? ParentIndex { get; set; }
|
||||
[JsonProperty("chapterSource")]
|
||||
public string? ChapterSource { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// The URL of the parent's thumbnail image.
|
||||
/// The primary extra key associated with this media item.
|
||||
/// </summary>
|
||||
[JsonProperty("parentThumb")]
|
||||
public string? ParentThumb { get; set; }
|
||||
[JsonProperty("primaryExtraKey")]
|
||||
public string? PrimaryExtraKey { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// The URL of the grandparent's thumbnail image.
|
||||
/// The original title of the media item (if different).
|
||||
/// </summary>
|
||||
[JsonProperty("originalTitle")]
|
||||
public string? OriginalTitle { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// The rating key of the parent media item.
|
||||
/// </summary>
|
||||
[JsonProperty("parentRatingKey")]
|
||||
public string? ParentRatingKey { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// The rating key of the grandparent media item.
|
||||
/// </summary>
|
||||
[JsonProperty("grandparentRatingKey")]
|
||||
public string? GrandparentRatingKey { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// The GUID of the parent media item.
|
||||
/// </summary>
|
||||
[JsonProperty("parentGuid")]
|
||||
public string? ParentGuid { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// The GUID of the grandparent media item.
|
||||
/// </summary>
|
||||
[JsonProperty("grandparentGuid")]
|
||||
public string? GrandparentGuid { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// The slug for the grandparent media item.
|
||||
/// </summary>
|
||||
[JsonProperty("grandparentSlug")]
|
||||
public string? GrandparentSlug { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// The key of the grandparent media item.
|
||||
/// </summary>
|
||||
[JsonProperty("grandparentKey")]
|
||||
public string? GrandparentKey { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// The key of the parent media item.
|
||||
/// </summary>
|
||||
[JsonProperty("parentKey")]
|
||||
public string? ParentKey { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// The title of the grandparent media item.
|
||||
/// </summary>
|
||||
[JsonProperty("grandparentTitle")]
|
||||
public string? GrandparentTitle { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// The thumbnail URL for the grandparent media item.
|
||||
/// </summary>
|
||||
[JsonProperty("grandparentThumb")]
|
||||
public string? GrandparentThumb { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// The URL of the grandparent's art image.
|
||||
/// The theme URL for the grandparent media item.
|
||||
/// </summary>
|
||||
[JsonProperty("grandparentTheme")]
|
||||
public string? GrandparentTheme { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// The art URL for the grandparent media item.
|
||||
/// </summary>
|
||||
[JsonProperty("grandparentArt")]
|
||||
public string? GrandparentArt { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// The title of the parent media item.
|
||||
/// </summary>
|
||||
[JsonProperty("parentTitle")]
|
||||
public string? ParentTitle { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// The index position of the parent media item.
|
||||
/// </summary>
|
||||
[JsonProperty("parentIndex")]
|
||||
public int? ParentIndex { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// The thumbnail URL for the parent media item.
|
||||
/// </summary>
|
||||
[JsonProperty("parentThumb")]
|
||||
public string? ParentThumb { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// The URL for the rating image.
|
||||
/// </summary>
|
||||
[JsonProperty("ratingImage")]
|
||||
public string? RatingImage { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// The number of times this media item has been viewed.
|
||||
/// </summary>
|
||||
[JsonProperty("viewCount")]
|
||||
public int? ViewCount { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// The current playback offset (in milliseconds).
|
||||
/// </summary>
|
||||
[JsonProperty("viewOffset")]
|
||||
public int? ViewOffset { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// The number of times this media item has been skipped.
|
||||
/// </summary>
|
||||
[JsonProperty("skipCount")]
|
||||
public int? SkipCount { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// A classification that further describes the type of media item. For example, 'clip' indicates that the item is a short video clip.
|
||||
/// </summary>
|
||||
[JsonProperty("subtype")]
|
||||
public string? Subtype { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// The Unix timestamp representing the last time the item was rated.
|
||||
/// </summary>
|
||||
[JsonProperty("lastRatedAt")]
|
||||
public long? LastRatedAt { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 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).
|
||||
/// </summary>
|
||||
[JsonProperty("createdAtAccuracy")]
|
||||
public string? CreatedAtAccuracy { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// The time zone offset for the creation timestamp, represented as a string. This offset indicates the difference from UTC.
|
||||
/// </summary>
|
||||
[JsonProperty("createdAtTZOffset")]
|
||||
public string? CreatedAtTZOffset { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Unix timestamp for when the media item was last viewed.
|
||||
/// </summary>
|
||||
[JsonProperty("lastViewedAt")]
|
||||
public int? LastViewedAt { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// The rating provided by a user for the item. This value is expressed as a decimal number.
|
||||
/// </summary>
|
||||
[JsonProperty("userRating")]
|
||||
public float? UserRating { get; set; }
|
||||
|
||||
[JsonProperty("Image")]
|
||||
public List<GetMediaMetaDataImage>? Image { get; set; }
|
||||
|
||||
[JsonProperty("UltraBlurColors")]
|
||||
public GetMediaMetaDataUltraBlurColors? UltraBlurColors { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// The identifier for the library section.
|
||||
/// </summary>
|
||||
[JsonProperty("librarySectionID")]
|
||||
public long LibrarySectionID { get; set; } = default!;
|
||||
|
||||
/// <summary>
|
||||
/// The title of the library section.
|
||||
/// </summary>
|
||||
[JsonProperty("librarySectionTitle")]
|
||||
public string LibrarySectionTitle { get; set; } = default!;
|
||||
|
||||
/// <summary>
|
||||
/// The key corresponding to the library section.
|
||||
/// </summary>
|
||||
[JsonProperty("librarySectionKey")]
|
||||
public string LibrarySectionKey { get; set; } = default!;
|
||||
|
||||
[JsonProperty("Media")]
|
||||
public List<GetMediaMetaDataMedia>? Media { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// An array of image objects.
|
||||
/// </summary>
|
||||
[JsonProperty("Image")]
|
||||
public List<GetMediaMetaDataImage> Image { get; set; } = default!;
|
||||
|
||||
[JsonProperty("UltraBlurColors")]
|
||||
public GetMediaMetaDataUltraBlurColors UltraBlurColors { get; set; } = default!;
|
||||
|
||||
/// <summary>
|
||||
/// An array of genre tags.
|
||||
/// </summary>
|
||||
[JsonProperty("Genre")]
|
||||
public List<GetMediaMetaDataGenre>? Genre { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// An array of country tags.
|
||||
/// </summary>
|
||||
[JsonProperty("Country")]
|
||||
public List<GetMediaMetaDataCountry>? Country { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// An array of GUID objects.
|
||||
/// </summary>
|
||||
[JsonProperty("Guid")]
|
||||
public List<GetMediaMetaDataGuids>? Guids { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// An array of rating objects.
|
||||
/// </summary>
|
||||
[JsonProperty("Rating")]
|
||||
public List<Ratings>? Ratings { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// An array of Actor roles.
|
||||
/// </summary>
|
||||
[JsonProperty("Role")]
|
||||
public List<GetMediaMetaDataRole>? Role { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// An array of Director roles.
|
||||
/// </summary>
|
||||
[JsonProperty("Director")]
|
||||
public List<GetMediaMetaDataDirector>? Director { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// An array of Writer roles.
|
||||
/// </summary>
|
||||
[JsonProperty("Writer")]
|
||||
public List<GetMediaMetaDataWriter>? Writer { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// An array of Writer roles.
|
||||
/// </summary>
|
||||
[JsonProperty("Producer")]
|
||||
public List<GetMediaMetaDataProducer>? Producer { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// An array of similar content objects.
|
||||
/// </summary>
|
||||
[JsonProperty("Role")]
|
||||
public List<GetMediaMetaDataRole>? Role { get; set; }
|
||||
|
||||
[JsonProperty("Guid")]
|
||||
public List<GetMediaMetaDataGuids>? Guids { get; set; }
|
||||
|
||||
[JsonProperty("Rating")]
|
||||
public List<Ratings>? Ratings { get; set; }
|
||||
|
||||
[JsonProperty("Similar")]
|
||||
public List<GetMediaMetaDataSimilar>? Similar { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// An array of location objects.
|
||||
/// </summary>
|
||||
[JsonProperty("Location")]
|
||||
public List<GetMediaMetaDataLocation>? Location { get; set; }
|
||||
|
||||
[JsonProperty("Chapter")]
|
||||
public List<Chapter>? Chapter { get; set; }
|
||||
|
||||
[JsonProperty("Marker")]
|
||||
public List<Marker>? Marker { get; set; }
|
||||
|
||||
[JsonProperty("Extras")]
|
||||
public Extras? Extras { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user