ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.615.2

This commit is contained in:
speakeasybot
2025-09-15 00:26:45 +00:00
parent 1f5d4ff03a
commit 8563e8fef2
246 changed files with 8601 additions and 2253 deletions

View File

@@ -15,13 +15,9 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors
using System;
using System.Collections.Generic;
using System.Net.Http;
/// <summary>
/// Unauthorized - Returned if the X-Plex-Token is missing from the header or query.
/// </summary>
public class GetLibrarySectionsAllUnauthorized : Exception
{
public class GetLibrarySectionsAllUnauthorizedPayload
{
[JsonProperty("errors")]
public List<GetLibrarySectionsAllLibraryErrors>? Errors { get; set; }
@@ -31,4 +27,32 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors
[JsonProperty("-")]
public HttpResponseMessage? RawResponse { get; set; }
}
/// <summary>
/// Unauthorized - Returned if the X-Plex-Token is missing from the header or query.
/// </summary>
public class GetLibrarySectionsAllUnauthorized : PlexAPIError
{
/// <summary>
/// The original data that was passed to this exception.
/// </summary>
public GetLibrarySectionsAllUnauthorizedPayload Payload { get; }
[Obsolete("This field will be removed in a future release, please migrate away from it as soon as possible. Use GetLibrarySectionsAllUnauthorized.Payload.Errors instead.")]
public List<GetLibrarySectionsAllLibraryErrors>? Errors { get; set; }
public GetLibrarySectionsAllUnauthorized(
GetLibrarySectionsAllUnauthorizedPayload payload,
HttpResponseMessage rawResponse,
string body
): base("API error occurred", rawResponse, body)
{
Payload = payload;
#pragma warning disable CS0618
Errors = payload.Errors;
#pragma warning restore CS0618
}
}
}