//------------------------------------------------------------------------------
// <auto-generated>
// 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.
// </auto-generated>
//------------------------------------------------------------------------------
#nullable enable
namespace LukeHagar.PlexAPI.SDK.Models.Requests
{
    using LukeHagar.PlexAPI.SDK.Utils;
    
    public class PostMediaPosterRequest
    {

        /// <summary>
        /// the id of the library item to return the posters of.
        /// </summary>
        [SpeakeasyMetadata("pathParam:style=simple,explode=false,name=ratingKey")]
        public long RatingKey { get; set; } = default!;

        /// <summary>
        /// The URL of the image, if uploading a remote image
        /// </summary>
        [SpeakeasyMetadata("queryParam:style=form,explode=true,name=url")]
        public string? Url { get; set; }

        /// <summary>
        /// The contents of the image, if uploading a local file
        /// </summary>
        [SpeakeasyMetadata("request:mediaType=image/*")]
        public byte[]? RequestBody { get; set; }
    }
}