ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.406.0

This commit is contained in:
speakeasybot
2024-10-03 00:09:11 +00:00
parent 1506db4d6b
commit 66f5103cac
94 changed files with 2378 additions and 737 deletions

View File

@@ -0,0 +1,41 @@
// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
import Foundation
extension Operations {
/// A response model
public enum GetSearchAllLibrariesResponse {
case empty
case badRequest(Operations.GetSearchAllLibrariesBadRequest)
case object(Operations.GetSearchAllLibrariesResponseBody)
case unauthorized(Operations.GetSearchAllLibrariesUnauthorized)
var isEmpty: Bool {
if case .empty = self {
return true
} else {
return false
}
}
public func badRequest() throws -> Operations.GetSearchAllLibrariesBadRequest {
guard case .badRequest(let value) = self else {
throw PlexswiftError.missingResponseData
}
return value
}
public func object() throws -> Operations.GetSearchAllLibrariesResponseBody {
guard case .object(let value) = self else {
throw PlexswiftError.missingResponseData
}
return value
}
public func unauthorized() throws -> Operations.GetSearchAllLibrariesUnauthorized {
guard case .unauthorized(let value) = self else {
throw PlexswiftError.missingResponseData
}
return value
}
}}