//------------------------------------------------------------------------------ // // 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 PlexAPI.Models.Requests { using PlexAPI.Models.Requests; using PlexAPI.Utils; public class GetResizedPhotoRequest { /// /// The width for the resized photo /// [SpeakeasyMetadata("queryParam:style=form,explode=true,name=width")] public double Width { get; set; } = default!; /// /// The height for the resized photo /// [SpeakeasyMetadata("queryParam:style=form,explode=true,name=height")] public double Height { get; set; } = default!; /// /// The opacity for the resized photo /// [SpeakeasyMetadata("queryParam:style=form,explode=true,name=opacity")] public long Opacity { get; set; } = 100; /// /// The width for the resized photo /// [SpeakeasyMetadata("queryParam:style=form,explode=true,name=blur")] public double Blur { get; set; } = default!; /// /// images are always scaled proportionally. A value of '1' in minSize will make the smaller native dimension the dimension resized against. /// [SpeakeasyMetadata("queryParam:style=form,explode=true,name=minSize")] public MinSize MinSize { get; set; } = default!; /// /// allow images to be resized beyond native dimensions. /// [SpeakeasyMetadata("queryParam:style=form,explode=true,name=upscale")] public Upscale Upscale { get; set; } = default!; /// /// path to image within Plex /// [SpeakeasyMetadata("queryParam:style=form,explode=true,name=url")] public string Url { get; set; } = default!; } }