migrated to v15

This commit is contained in:
Luke Hagar
2024-03-18 14:51:32 -07:00
parent be42385d2e
commit 56ce2a19cf
507 changed files with 25844 additions and 25 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 GetFileHashResponse {
case empty
case object(Operations.GetFileHashResponseBody)
var isEmpty: Bool {
if case .empty = self {
return true
} else {
return false
}
}
public func object() throws -> Operations.GetFileHashResponseBody {
guard case .object(let value) = self else {
throw PlexswiftError.missingResponseData
}
return value
}
}
}