//------------------------------------------------------------------------------ // // 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.Components; using LukeHagar.PlexAPI.SDK.Utils; public class UpdateItemsRequest { /// /// Indicates the client accepts the indicated media types /// [SpeakeasyMetadata("header:style=simple,explode=false,name=accepts")] public Accepts? Accepts { get; set; } = LukeHagar.PlexAPI.SDK.Models.Components.Accepts.ApplicationXml; /// /// An opaque identifier unique to the client /// [SpeakeasyMetadata("header:style=simple,explode=false,name=X-Plex-Client-Identifier")] public string? ClientIdentifier { get; set; } /// /// The name of the client product /// [SpeakeasyMetadata("header:style=simple,explode=false,name=X-Plex-Product")] public string? Product { get; set; } /// /// The version of the client application /// [SpeakeasyMetadata("header:style=simple,explode=false,name=X-Plex-Version")] public string? Version { get; set; } /// /// The platform of the client /// [SpeakeasyMetadata("header:style=simple,explode=false,name=X-Plex-Platform")] public string? Platform { get; set; } /// /// The version of the platform /// [SpeakeasyMetadata("header:style=simple,explode=false,name=X-Plex-Platform-Version")] public string? PlatformVersion { get; set; } /// /// A relatively friendly name for the client device /// [SpeakeasyMetadata("header:style=simple,explode=false,name=X-Plex-Device")] public string? Device { get; set; } /// /// A potentially less friendly identifier for the device model /// [SpeakeasyMetadata("header:style=simple,explode=false,name=X-Plex-Model")] public string? Model { get; set; } /// /// The device vendor /// [SpeakeasyMetadata("header:style=simple,explode=false,name=X-Plex-Device-Vendor")] public string? DeviceVendor { get; set; } /// /// A friendly name for the client /// [SpeakeasyMetadata("header:style=simple,explode=false,name=X-Plex-Device-Name")] public string? DeviceName { get; set; } /// /// The marketplace on which the client application is distributed /// [SpeakeasyMetadata("header:style=simple,explode=false,name=X-Plex-Marketplace")] public string? Marketplace { get; set; } /// /// The id of the section /// [SpeakeasyMetadata("pathParam:style=simple,explode=false,name=sectionId")] public string SectionId { get; set; } = default!; [SpeakeasyMetadata("queryParam:style=form,explode=true,name=type")] public string? Type { get; set; } /// /// The filters to apply to determine which items should be modified /// [SpeakeasyMetadata("queryParam:style=form,explode=true,name=filters")] public string? Filters { get; set; } /// /// Set the specified field to a new value /// [SpeakeasyMetadata("queryParam:style=form,explode=true,name=field.value")] public string? FieldValue { get; set; } /// /// Set the specified field to locked (or unlocked if set to 0) /// [SpeakeasyMetadata("queryParam:style=form,explode=true,name=field.locked")] public BoolInt? FieldLocked { get; set; } = LukeHagar.PlexAPI.SDK.Models.Components.BoolInt.False; /// /// This field is treated specially by albums or artists and may be used for implicit reparenting. /// [SpeakeasyMetadata("queryParam:style=form,explode=true,name=title.value")] public string? TitleValue { get; set; } /// /// Reparents set of Tracks or Albums - used with album.title.* in the case of tracks /// [SpeakeasyMetadata("queryParam:style=form,explode=true,name=artist.title.value")] public string? ArtistTitleValue { get; set; } /// /// Reparents set of Tracks or Albums - used with album.title.* in the case of tracks /// [SpeakeasyMetadata("queryParam:style=form,explode=true,name=artist.title.id")] public string? ArtistTitleId { get; set; } /// /// Reparents set of Tracks - Must be used in conjunction with artist.title.value or id /// [SpeakeasyMetadata("queryParam:style=form,explode=true,name=album.title.value")] public string? AlbumTitleValue { get; set; } /// /// Reparents set of Tracks - Must be used in conjunction with artist.title.value or id /// [SpeakeasyMetadata("queryParam:style=form,explode=true,name=album.title.id")] public string? AlbumTitleId { get; set; } /// /// Creates tag and associates it with each item in the set. - [idx] links this and the next parameters together /// [SpeakeasyMetadata("queryParam:style=form,explode=true,name=tagtype[idx].tag.tag")] public string? TagtypeIdxTagTag { get; set; } /// /// Here `object` may be text/thumb/art/theme - Optionally used in conjunction with tag.tag, to update association info across the set. /// [SpeakeasyMetadata("queryParam:style=form,explode=true,name=tagtype[idx].tagging.object")] public string? TagtypeIdxTaggingObject { get; set; } /// /// Remove comma separated tags from the set of items /// [SpeakeasyMetadata("queryParam:style=form,explode=true,name=tagtype[].tag.tag-")] public string? TagtypeTagTag { get; set; } /// /// Remove associations of this type (e.g. genre) from the set of items /// [SpeakeasyMetadata("queryParam:style=form,explode=true,name=tagtype[].tag")] public string? TagtypeTag { get; set; } } }