openai/openai-dotnet
Publicmirrored from https://github.com/openai/openai-dotnetAvailable
src/Generated/BatchClient.cs
29lines · modecode
| 1 | // <auto-generated/> |
| 2 | |
| 3 | #nullable disable |
| 4 | |
| 5 | using System; |
| 6 | using System.ClientModel; |
| 7 | using System.ClientModel.Primitives; |
| 8 | using System.Collections.Generic; |
| 9 | using System.Threading.Tasks; |
| 10 | |
| 11 | namespace OpenAI.Batch |
| 12 | { |
| 13 | // Data plane generated sub-client. |
| 14 | public partial class BatchClient |
| 15 | { |
| 16 | private const string AuthorizationHeader = "Authorization"; |
| 17 | private readonly ApiKeyCredential _keyCredential; |
| 18 | private const string AuthorizationApiKeyPrefix = "Bearer"; |
| 19 | private readonly ClientPipeline _pipeline; |
| 20 | private readonly Uri _endpoint; |
| 21 | |
| 22 | protected BatchClient() |
| 23 | { |
| 24 | } |
| 25 | |
| 26 | private static PipelineMessageClassifier _pipelineMessageClassifier200; |
| 27 | private static PipelineMessageClassifier PipelineMessageClassifier200 => _pipelineMessageClassifier200 ??= PipelineMessageClassifier.Create(stackalloc ushort[] { 200 }); |
| 28 | } |
| 29 | } |
| 30 | |