ci: regenerated with OpenAPI Doc 0.0.3, Speakeasy CLI 1.147.0

This commit is contained in:
speakeasybot
2024-01-19 17:27:33 +00:00
parent a2574b38a7
commit 9df2a4face
28 changed files with 232 additions and 46 deletions

View File

@@ -0,0 +1,33 @@
//------------------------------------------------------------------------------
// <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 GetLibraryDirectory
{
[JsonProperty("secondary")]
public bool? Secondary { get; set; }
[JsonProperty("prompt")]
public string? Prompt { get; set; }
[JsonProperty("search")]
public bool? Search { get; set; }
[JsonProperty("key")]
public string? Key { get; set; }
[JsonProperty("title")]
public string? Title { get; set; }
}
}

View 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 GetLibraryLibraryResponseBody
{
[JsonProperty("errors")]
public List<GetLibraryErrors>? Errors { get; set; }
}
}

View File

@@ -0,0 +1,58 @@
//------------------------------------------------------------------------------
// <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 GetLibraryMediaContainer
{
[JsonProperty("size")]
public int? Size { get; set; }
[JsonProperty("allowSync")]
public bool? AllowSync { get; set; }
[JsonProperty("art")]
public string? Art { get; set; }
[JsonProperty("content")]
public string? Content { get; set; }
[JsonProperty("identifier")]
public string? Identifier { get; set; }
[JsonProperty("librarySectionID")]
public int? LibrarySectionID { get; set; }
[JsonProperty("mediaTagPrefix")]
public string? MediaTagPrefix { get; set; }
[JsonProperty("mediaTagVersion")]
public int? MediaTagVersion { get; set; }
[JsonProperty("thumb")]
public string? Thumb { get; set; }
[JsonProperty("title1")]
public string? Title1 { get; set; }
[JsonProperty("viewGroup")]
public string? ViewGroup { get; set; }
[JsonProperty("viewMode")]
public int? ViewMode { get; set; }
[JsonProperty("Directory")]
public List<GetLibraryDirectory>? Directory { get; set; }
}
}

View File

@@ -31,9 +31,14 @@ namespace PlexAPI.Models.Requests
/// </summary>
public HttpResponseMessage RawResponse { get; set; } = default!;
/// <summary>
/// The details of the library
/// </summary>
public GetLibraryResponseBody? TwoHundredApplicationJsonObject { get; set; }
/// <summary>
/// Unauthorized - Returned if the X-Plex-Token is missing from the header or query.
/// </summary>
public GetLibraryResponseBody? Object { get; set; }
public GetLibraryLibraryResponseBody? FourHundredAndOneApplicationJsonObject { get; set; }
}
}

View File

@@ -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 details of the library
/// </summary>
public class GetLibraryResponseBody
{
[JsonProperty("errors")]
public List<GetLibraryErrors>? Errors { get; set; }
[JsonProperty("MediaContainer")]
public GetLibraryMediaContainer? MediaContainer { get; set; }
}
}