// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. import Foundation extension Operations { /// A response model public enum GetPinResponse { case empty case authPinContainer(Operations.GetPinAuthPinContainer) case badRequest(Operations.GetPinBadRequest) var isEmpty: Bool { if case .empty = self { return true } else { return false } } public func authPinContainer() throws -> Operations.GetPinAuthPinContainer { guard case .authPinContainer(let value) = self else { throw PlexswiftError.missingResponseData } return value } public func badRequest() throws -> Operations.GetPinBadRequest { guard case .badRequest(let value) = self else { throw PlexswiftError.missingResponseData } return value } }}