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,34 @@
// Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.
import Foundation
extension Operations {
/// A response model
public enum GetTranscodeSessionsResponse {
case empty
case twoHundredApplicationJsonObject(Operations.GetTranscodeSessionsResponseBody)
case fourHundredAndOneApplicationJsonObject(Operations.GetTranscodeSessionsSessionsResponseBody)
var isEmpty: Bool {
if case .empty = self {
return true
} else {
return false
}
}
public func twoHundredApplicationJsonObject() throws -> Operations.GetTranscodeSessionsResponseBody {
guard case .twoHundredApplicationJsonObject(let value) = self else {
throw PlexswiftError.missingResponseData
}
return value
}
public func fourHundredAndOneApplicationJsonObject() throws -> Operations.GetTranscodeSessionsSessionsResponseBody {
guard case .fourHundredAndOneApplicationJsonObject(let value) = self else {
throw PlexswiftError.missingResponseData
}
return value
}
}
}