ci: regenerated with OpenAPI Doc 0.0.3, Speakeasy CLI 1.152.1

This commit is contained in:
speakeasybot
2024-01-26 00:54:09 +00:00
parent 9d3c934f78
commit d6b8694f87
483 changed files with 24658 additions and 0 deletions

View File

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