mirror of
https://github.com/LukeHagar/plexcsharp.git
synced 2025-12-06 12:37:46 +00:00
ci: regenerated with OpenAPI Doc 0.0.3, Speakeasy CLI 1.147.0
This commit is contained in:
82
PlexAPI/Models/Requests/GetLibrariesDirectory.cs
Normal file
82
PlexAPI/Models/Requests/GetLibrariesDirectory.cs
Normal file
@@ -0,0 +1,82 @@
|
||||
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by Speakeasy (https://speakeasyapi.dev). 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 PlexAPI.Models.Requests
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
|
||||
public class GetLibrariesDirectory
|
||||
{
|
||||
|
||||
[JsonProperty("allowSync")]
|
||||
public bool? AllowSync { get; set; }
|
||||
|
||||
[JsonProperty("art")]
|
||||
public string? Art { get; set; }
|
||||
|
||||
[JsonProperty("composite")]
|
||||
public string? Composite { get; set; }
|
||||
|
||||
[JsonProperty("filters")]
|
||||
public bool? Filters { get; set; }
|
||||
|
||||
[JsonProperty("refreshing")]
|
||||
public bool? Refreshing { get; set; }
|
||||
|
||||
[JsonProperty("thumb")]
|
||||
public string? Thumb { get; set; }
|
||||
|
||||
[JsonProperty("key")]
|
||||
public string? Key { get; set; }
|
||||
|
||||
[JsonProperty("type")]
|
||||
public string? Type { get; set; }
|
||||
|
||||
[JsonProperty("title")]
|
||||
public string? Title { get; set; }
|
||||
|
||||
[JsonProperty("agent")]
|
||||
public string? Agent { get; set; }
|
||||
|
||||
[JsonProperty("scanner")]
|
||||
public string? Scanner { get; set; }
|
||||
|
||||
[JsonProperty("language")]
|
||||
public string? Language { get; set; }
|
||||
|
||||
[JsonProperty("uuid")]
|
||||
public string? Uuid { get; set; }
|
||||
|
||||
[JsonProperty("updatedAt")]
|
||||
public int? UpdatedAt { get; set; }
|
||||
|
||||
[JsonProperty("createdAt")]
|
||||
public int? CreatedAt { get; set; }
|
||||
|
||||
[JsonProperty("scannedAt")]
|
||||
public int? ScannedAt { get; set; }
|
||||
|
||||
[JsonProperty("content")]
|
||||
public bool? Content { get; set; }
|
||||
|
||||
[JsonProperty("directory")]
|
||||
public bool? Directory { get; set; }
|
||||
|
||||
[JsonProperty("contentChangedAt")]
|
||||
public int? ContentChangedAt { get; set; }
|
||||
|
||||
[JsonProperty("hidden")]
|
||||
public int? Hidden { get; set; }
|
||||
|
||||
[JsonProperty("Location")]
|
||||
public List<Location>? Location { get; set; }
|
||||
}
|
||||
}
|
||||
25
PlexAPI/Models/Requests/GetLibrariesLibraryResponseBody.cs
Normal file
25
PlexAPI/Models/Requests/GetLibrariesLibraryResponseBody.cs
Normal file
@@ -0,0 +1,25 @@
|
||||
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by Speakeasy (https://speakeasyapi.dev). 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 PlexAPI.Models.Requests
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
|
||||
/// <summary>
|
||||
/// Unauthorized - Returned if the X-Plex-Token is missing from the header or query.
|
||||
/// </summary>
|
||||
public class GetLibrariesLibraryResponseBody
|
||||
{
|
||||
|
||||
[JsonProperty("errors")]
|
||||
public List<GetLibrariesErrors>? Errors { get; set; }
|
||||
}
|
||||
}
|
||||
31
PlexAPI/Models/Requests/GetLibrariesMediaContainer.cs
Normal file
31
PlexAPI/Models/Requests/GetLibrariesMediaContainer.cs
Normal file
@@ -0,0 +1,31 @@
|
||||
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by Speakeasy (https://speakeasyapi.dev). 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 PlexAPI.Models.Requests
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
|
||||
public class GetLibrariesMediaContainer
|
||||
{
|
||||
|
||||
[JsonProperty("size")]
|
||||
public int? Size { get; set; }
|
||||
|
||||
[JsonProperty("allowSync")]
|
||||
public bool? AllowSync { get; set; }
|
||||
|
||||
[JsonProperty("title1")]
|
||||
public string? Title1 { get; set; }
|
||||
|
||||
[JsonProperty("Directory")]
|
||||
public List<GetLibrariesDirectory>? Directory { get; set; }
|
||||
}
|
||||
}
|
||||
@@ -31,9 +31,14 @@ namespace PlexAPI.Models.Requests
|
||||
/// </summary>
|
||||
public HttpResponseMessage RawResponse { get; set; } = default!;
|
||||
|
||||
/// <summary>
|
||||
/// The libraries available on the Server
|
||||
/// </summary>
|
||||
public GetLibrariesResponseBody? TwoHundredApplicationJsonObject { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Unauthorized - Returned if the X-Plex-Token is missing from the header or query.
|
||||
/// </summary>
|
||||
public GetLibrariesResponseBody? Object { get; set; }
|
||||
public GetLibrariesLibraryResponseBody? FourHundredAndOneApplicationJsonObject { get; set; }
|
||||
}
|
||||
}
|
||||
@@ -11,15 +11,14 @@
|
||||
namespace PlexAPI.Models.Requests
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
|
||||
/// <summary>
|
||||
/// Unauthorized - Returned if the X-Plex-Token is missing from the header or query.
|
||||
/// The libraries available on the Server
|
||||
/// </summary>
|
||||
public class GetLibrariesResponseBody
|
||||
{
|
||||
|
||||
[JsonProperty("errors")]
|
||||
public List<GetLibrariesErrors>? Errors { get; set; }
|
||||
[JsonProperty("MediaContainer")]
|
||||
public GetLibrariesMediaContainer? MediaContainer { get; set; }
|
||||
}
|
||||
}
|
||||
24
PlexAPI/Models/Requests/Location.cs
Normal file
24
PlexAPI/Models/Requests/Location.cs
Normal file
@@ -0,0 +1,24 @@
|
||||
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by Speakeasy (https://speakeasyapi.dev). 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 PlexAPI.Models.Requests
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
|
||||
public class Location
|
||||
{
|
||||
|
||||
[JsonProperty("id")]
|
||||
public int? Id { get; set; }
|
||||
|
||||
[JsonProperty("path")]
|
||||
public string? Path { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user