ci: regenerated with OpenAPI Doc 0.0.3, Speakeasy CLI 1.161.0

This commit is contained in:
speakeasybot
2024-02-01 00:56:10 +00:00
parent 9d3c934f78
commit d8fb37fcc3
496 changed files with 25444 additions and 0 deletions

View File

@@ -0,0 +1,26 @@
// Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.
import Foundation
extension Operations {
/// A response model
public enum PerformSearchResponse {
case empty
case object(Operations.PerformSearchResponseBody)
var isEmpty: Bool {
if case .empty = self {
return true
} else {
return false
}
}
public func object() throws -> Operations.PerformSearchResponseBody {
guard case .object(let value) = self else {
throw PlexswiftError.missingResponseData
}
return value
}
}
}