ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.377.3

This commit is contained in:
speakeasybot
2024-08-23 00:09:43 +00:00
parent 7585dd0b5c
commit 322299ad95
653 changed files with 7027 additions and 1277 deletions

View File

@@ -1,6 +1,6 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.
// 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.
@@ -53,15 +53,19 @@ namespace PlexAPI.Models.Requests
return Value.GetHashCode();
}
}
[JsonConverter(typeof(LibrarySectionID.LibrarySectionIDConverter))]
public class LibrarySectionID {
public LibrarySectionID(LibrarySectionIDType type) {
Type = type;
}
public long? Integer { get; set; }
public string? Str { get; set; }
[SpeakeasyMetadata("form:explode=true")]
public long? Integer { get; set; }
[SpeakeasyMetadata("form:explode=true")]
public string? Str { get; set; }
public LibrarySectionIDType Type { get; set; }
@@ -116,14 +120,14 @@ namespace PlexAPI.Models.Requests
{
// try next option
}
if (json[0] == '"' && json[^1] == '"'){
return new LibrarySectionID(LibrarySectionIDType.Str)
{
Str = json[1..^1]
};
}
if (fallbackCandidates.Count > 0)
{
fallbackCandidates.Sort((a, b) => ResponseBodyDeserializer.CompareFallbackCandidates(a.Item1, b.Item1, json));
@@ -144,7 +148,6 @@ namespace PlexAPI.Models.Requests
}
}
throw new InvalidOperationException("Could not deserialize into any supported types.");
}
@@ -172,8 +175,8 @@ namespace PlexAPI.Models.Requests
}
}
}
}
}