Cleaning and regenerating

This commit is contained in:
Luke Hagar
2024-04-11 11:09:16 -05:00
parent 5beda3b623
commit 5c1a849e2e
518 changed files with 0 additions and 27808 deletions

View File

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