//------------------------------------------------------------------------------ // // 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.Utils; public class PostMediaPosterRequest { /// /// the id of the library item to return the posters of. /// [SpeakeasyMetadata("pathParam:style=simple,explode=false,name=ratingKey")] public long RatingKey { get; set; } = default!; /// /// The URL of the image, if uploading a remote image /// [SpeakeasyMetadata("queryParam:style=form,explode=true,name=url")] public string? Url { get; set; } /// /// The contents of the image, if uploading a local file /// [SpeakeasyMetadata("request:mediaType=image/*")] public byte[]? RequestBody { get; set; } } }