Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,10 @@ public sealed class AdminApiKeysListOrderJsonConverter : global::System.Text.Jso
var numValue = reader.GetInt32();
return (global::tryAGI.OpenAI.AdminApiKeysListOrder)numValue;
}
case global::System.Text.Json.JsonTokenType.Null:
{
return default(global::tryAGI.OpenAI.AdminApiKeysListOrder);
}
default:
throw new global::System.ArgumentOutOfRangeException(nameof(reader));
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,10 @@ public sealed class AdminApiKeysListOrderNullableJsonConverter : global::System.
var numValue = reader.GetInt32();
return (global::tryAGI.OpenAI.AdminApiKeysListOrder)numValue;
}
case global::System.Text.Json.JsonTokenType.Null:
{
return default(global::tryAGI.OpenAI.AdminApiKeysListOrder?);
}
default:
throw new global::System.ArgumentOutOfRangeException(nameof(reader));
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,10 @@ public sealed class ApproximateLocationTypeJsonConverter : global::System.Text.J
var numValue = reader.GetInt32();
return (global::tryAGI.OpenAI.ApproximateLocationType)numValue;
}
case global::System.Text.Json.JsonTokenType.Null:
{
return default(global::tryAGI.OpenAI.ApproximateLocationType);
}
default:
throw new global::System.ArgumentOutOfRangeException(nameof(reader));
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,10 @@ public sealed class ApproximateLocationTypeNullableJsonConverter : global::Syste
var numValue = reader.GetInt32();
return (global::tryAGI.OpenAI.ApproximateLocationType)numValue;
}
case global::System.Text.Json.JsonTokenType.Null:
{
return default(global::tryAGI.OpenAI.ApproximateLocationType?);
}
default:
throw new global::System.ArgumentOutOfRangeException(nameof(reader));
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,10 @@ public sealed class AssistantObjectObjectJsonConverter : global::System.Text.Jso
var numValue = reader.GetInt32();
return (global::tryAGI.OpenAI.AssistantObjectObject)numValue;
}
case global::System.Text.Json.JsonTokenType.Null:
{
return default(global::tryAGI.OpenAI.AssistantObjectObject);
}
default:
throw new global::System.ArgumentOutOfRangeException(nameof(reader));
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,10 @@ public sealed class AssistantObjectObjectNullableJsonConverter : global::System.
var numValue = reader.GetInt32();
return (global::tryAGI.OpenAI.AssistantObjectObject)numValue;
}
case global::System.Text.Json.JsonTokenType.Null:
{
return default(global::tryAGI.OpenAI.AssistantObjectObject?);
}
default:
throw new global::System.ArgumentOutOfRangeException(nameof(reader));
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,10 @@ public sealed class AssistantSupportedModelsJsonConverter : global::System.Text.
var numValue = reader.GetInt32();
return (global::tryAGI.OpenAI.AssistantSupportedModels)numValue;
}
case global::System.Text.Json.JsonTokenType.Null:
{
return default(global::tryAGI.OpenAI.AssistantSupportedModels);
}
default:
throw new global::System.ArgumentOutOfRangeException(nameof(reader));
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,10 @@ public sealed class AssistantSupportedModelsNullableJsonConverter : global::Syst
var numValue = reader.GetInt32();
return (global::tryAGI.OpenAI.AssistantSupportedModels)numValue;
}
case global::System.Text.Json.JsonTokenType.Null:
{
return default(global::tryAGI.OpenAI.AssistantSupportedModels?);
}
default:
throw new global::System.ArgumentOutOfRangeException(nameof(reader));
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,10 @@ public sealed class AssistantToolsCodeTypeJsonConverter : global::System.Text.Js
var numValue = reader.GetInt32();
return (global::tryAGI.OpenAI.AssistantToolsCodeType)numValue;
}
case global::System.Text.Json.JsonTokenType.Null:
{
return default(global::tryAGI.OpenAI.AssistantToolsCodeType);
}
default:
throw new global::System.ArgumentOutOfRangeException(nameof(reader));
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,10 @@ public sealed class AssistantToolsCodeTypeNullableJsonConverter : global::System
var numValue = reader.GetInt32();
return (global::tryAGI.OpenAI.AssistantToolsCodeType)numValue;
}
case global::System.Text.Json.JsonTokenType.Null:
{
return default(global::tryAGI.OpenAI.AssistantToolsCodeType?);
}
default:
throw new global::System.ArgumentOutOfRangeException(nameof(reader));
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,10 @@ public sealed class AssistantToolsFileSearchTypeJsonConverter : global::System.T
var numValue = reader.GetInt32();
return (global::tryAGI.OpenAI.AssistantToolsFileSearchType)numValue;
}
case global::System.Text.Json.JsonTokenType.Null:
{
return default(global::tryAGI.OpenAI.AssistantToolsFileSearchType);
}
default:
throw new global::System.ArgumentOutOfRangeException(nameof(reader));
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,10 @@ public sealed class AssistantToolsFileSearchTypeNullableJsonConverter : global::
var numValue = reader.GetInt32();
return (global::tryAGI.OpenAI.AssistantToolsFileSearchType)numValue;
}
case global::System.Text.Json.JsonTokenType.Null:
{
return default(global::tryAGI.OpenAI.AssistantToolsFileSearchType?);
}
default:
throw new global::System.ArgumentOutOfRangeException(nameof(reader));
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,10 @@ public sealed class AssistantToolsFileSearchTypeOnlyTypeJsonConverter : global::
var numValue = reader.GetInt32();
return (global::tryAGI.OpenAI.AssistantToolsFileSearchTypeOnlyType)numValue;
}
case global::System.Text.Json.JsonTokenType.Null:
{
return default(global::tryAGI.OpenAI.AssistantToolsFileSearchTypeOnlyType);
}
default:
throw new global::System.ArgumentOutOfRangeException(nameof(reader));
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,10 @@ public sealed class AssistantToolsFileSearchTypeOnlyTypeNullableJsonConverter :
var numValue = reader.GetInt32();
return (global::tryAGI.OpenAI.AssistantToolsFileSearchTypeOnlyType)numValue;
}
case global::System.Text.Json.JsonTokenType.Null:
{
return default(global::tryAGI.OpenAI.AssistantToolsFileSearchTypeOnlyType?);
}
default:
throw new global::System.ArgumentOutOfRangeException(nameof(reader));
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,10 @@ public sealed class AssistantToolsFunctionTypeJsonConverter : global::System.Tex
var numValue = reader.GetInt32();
return (global::tryAGI.OpenAI.AssistantToolsFunctionType)numValue;
}
case global::System.Text.Json.JsonTokenType.Null:
{
return default(global::tryAGI.OpenAI.AssistantToolsFunctionType);
}
default:
throw new global::System.ArgumentOutOfRangeException(nameof(reader));
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,10 @@ public sealed class AssistantToolsFunctionTypeNullableJsonConverter : global::Sy
var numValue = reader.GetInt32();
return (global::tryAGI.OpenAI.AssistantToolsFunctionType)numValue;
}
case global::System.Text.Json.JsonTokenType.Null:
{
return default(global::tryAGI.OpenAI.AssistantToolsFunctionType?);
}
default:
throw new global::System.ArgumentOutOfRangeException(nameof(reader));
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,10 @@ public sealed class AssistantsApiResponseFormatOptionEnumJsonConverter : global:
var numValue = reader.GetInt32();
return (global::tryAGI.OpenAI.AssistantsApiResponseFormatOptionEnum)numValue;
}
case global::System.Text.Json.JsonTokenType.Null:
{
return default(global::tryAGI.OpenAI.AssistantsApiResponseFormatOptionEnum);
}
default:
throw new global::System.ArgumentOutOfRangeException(nameof(reader));
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,10 @@ public sealed class AssistantsApiResponseFormatOptionEnumNullableJsonConverter :
var numValue = reader.GetInt32();
return (global::tryAGI.OpenAI.AssistantsApiResponseFormatOptionEnum)numValue;
}
case global::System.Text.Json.JsonTokenType.Null:
{
return default(global::tryAGI.OpenAI.AssistantsApiResponseFormatOptionEnum?);
}
default:
throw new global::System.ArgumentOutOfRangeException(nameof(reader));
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,10 @@ public sealed class AssistantsApiToolChoiceOptionEnumJsonConverter : global::Sys
var numValue = reader.GetInt32();
return (global::tryAGI.OpenAI.AssistantsApiToolChoiceOptionEnum)numValue;
}
case global::System.Text.Json.JsonTokenType.Null:
{
return default(global::tryAGI.OpenAI.AssistantsApiToolChoiceOptionEnum);
}
default:
throw new global::System.ArgumentOutOfRangeException(nameof(reader));
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,10 @@ public sealed class AssistantsApiToolChoiceOptionEnumNullableJsonConverter : glo
var numValue = reader.GetInt32();
return (global::tryAGI.OpenAI.AssistantsApiToolChoiceOptionEnum)numValue;
}
case global::System.Text.Json.JsonTokenType.Null:
{
return default(global::tryAGI.OpenAI.AssistantsApiToolChoiceOptionEnum?);
}
default:
throw new global::System.ArgumentOutOfRangeException(nameof(reader));
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,10 @@ public sealed class AssistantsNamedToolChoiceTypeJsonConverter : global::System.
var numValue = reader.GetInt32();
return (global::tryAGI.OpenAI.AssistantsNamedToolChoiceType)numValue;
}
case global::System.Text.Json.JsonTokenType.Null:
{
return default(global::tryAGI.OpenAI.AssistantsNamedToolChoiceType);
}
default:
throw new global::System.ArgumentOutOfRangeException(nameof(reader));
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,10 @@ public sealed class AssistantsNamedToolChoiceTypeNullableJsonConverter : global:
var numValue = reader.GetInt32();
return (global::tryAGI.OpenAI.AssistantsNamedToolChoiceType)numValue;
}
case global::System.Text.Json.JsonTokenType.Null:
{
return default(global::tryAGI.OpenAI.AssistantsNamedToolChoiceType?);
}
default:
throw new global::System.ArgumentOutOfRangeException(nameof(reader));
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,10 @@ public sealed class AudioResponseFormatJsonConverter : global::System.Text.Json.
var numValue = reader.GetInt32();
return (global::tryAGI.OpenAI.AudioResponseFormat)numValue;
}
case global::System.Text.Json.JsonTokenType.Null:
{
return default(global::tryAGI.OpenAI.AudioResponseFormat);
}
default:
throw new global::System.ArgumentOutOfRangeException(nameof(reader));
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,10 @@ public sealed class AudioResponseFormatNullableJsonConverter : global::System.Te
var numValue = reader.GetInt32();
return (global::tryAGI.OpenAI.AudioResponseFormat)numValue;
}
case global::System.Text.Json.JsonTokenType.Null:
{
return default(global::tryAGI.OpenAI.AudioResponseFormat?);
}
default:
throw new global::System.ArgumentOutOfRangeException(nameof(reader));
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,10 @@ public sealed class AuditLogActorApiKeyTypeJsonConverter : global::System.Text.J
var numValue = reader.GetInt32();
return (global::tryAGI.OpenAI.AuditLogActorApiKeyType)numValue;
}
case global::System.Text.Json.JsonTokenType.Null:
{
return default(global::tryAGI.OpenAI.AuditLogActorApiKeyType);
}
default:
throw new global::System.ArgumentOutOfRangeException(nameof(reader));
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,10 @@ public sealed class AuditLogActorApiKeyTypeNullableJsonConverter : global::Syste
var numValue = reader.GetInt32();
return (global::tryAGI.OpenAI.AuditLogActorApiKeyType)numValue;
}
case global::System.Text.Json.JsonTokenType.Null:
{
return default(global::tryAGI.OpenAI.AuditLogActorApiKeyType?);
}
default:
throw new global::System.ArgumentOutOfRangeException(nameof(reader));
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,10 @@ public sealed class AuditLogActorTypeJsonConverter : global::System.Text.Json.Se
var numValue = reader.GetInt32();
return (global::tryAGI.OpenAI.AuditLogActorType)numValue;
}
case global::System.Text.Json.JsonTokenType.Null:
{
return default(global::tryAGI.OpenAI.AuditLogActorType);
}
default:
throw new global::System.ArgumentOutOfRangeException(nameof(reader));
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,10 @@ public sealed class AuditLogActorTypeNullableJsonConverter : global::System.Text
var numValue = reader.GetInt32();
return (global::tryAGI.OpenAI.AuditLogActorType)numValue;
}
case global::System.Text.Json.JsonTokenType.Null:
{
return default(global::tryAGI.OpenAI.AuditLogActorType?);
}
default:
throw new global::System.ArgumentOutOfRangeException(nameof(reader));
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,10 @@ public sealed class AuditLogEventTypeJsonConverter : global::System.Text.Json.Se
var numValue = reader.GetInt32();
return (global::tryAGI.OpenAI.AuditLogEventType)numValue;
}
case global::System.Text.Json.JsonTokenType.Null:
{
return default(global::tryAGI.OpenAI.AuditLogEventType);
}
default:
throw new global::System.ArgumentOutOfRangeException(nameof(reader));
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,10 @@ public sealed class AuditLogEventTypeNullableJsonConverter : global::System.Text
var numValue = reader.GetInt32();
return (global::tryAGI.OpenAI.AuditLogEventType)numValue;
}
case global::System.Text.Json.JsonTokenType.Null:
{
return default(global::tryAGI.OpenAI.AuditLogEventType?);
}
default:
throw new global::System.ArgumentOutOfRangeException(nameof(reader));
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,10 @@ public sealed class AutoChunkingStrategyRequestParamTypeJsonConverter : global::
var numValue = reader.GetInt32();
return (global::tryAGI.OpenAI.AutoChunkingStrategyRequestParamType)numValue;
}
case global::System.Text.Json.JsonTokenType.Null:
{
return default(global::tryAGI.OpenAI.AutoChunkingStrategyRequestParamType);
}
default:
throw new global::System.ArgumentOutOfRangeException(nameof(reader));
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,10 @@ public sealed class AutoChunkingStrategyRequestParamTypeNullableJsonConverter :
var numValue = reader.GetInt32();
return (global::tryAGI.OpenAI.AutoChunkingStrategyRequestParamType)numValue;
}
case global::System.Text.Json.JsonTokenType.Null:
{
return default(global::tryAGI.OpenAI.AutoChunkingStrategyRequestParamType?);
}
default:
throw new global::System.ArgumentOutOfRangeException(nameof(reader));
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,10 @@ public sealed class BatchObjectJsonConverter : global::System.Text.Json.Serializ
var numValue = reader.GetInt32();
return (global::tryAGI.OpenAI.BatchObject)numValue;
}
case global::System.Text.Json.JsonTokenType.Null:
{
return default(global::tryAGI.OpenAI.BatchObject);
}
default:
throw new global::System.ArgumentOutOfRangeException(nameof(reader));
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,10 @@ public sealed class BatchObjectNullableJsonConverter : global::System.Text.Json.
var numValue = reader.GetInt32();
return (global::tryAGI.OpenAI.BatchObject)numValue;
}
case global::System.Text.Json.JsonTokenType.Null:
{
return default(global::tryAGI.OpenAI.BatchObject?);
}
default:
throw new global::System.ArgumentOutOfRangeException(nameof(reader));
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,10 @@ public sealed class BatchRequestInputMethodJsonConverter : global::System.Text.J
var numValue = reader.GetInt32();
return (global::tryAGI.OpenAI.BatchRequestInputMethod)numValue;
}
case global::System.Text.Json.JsonTokenType.Null:
{
return default(global::tryAGI.OpenAI.BatchRequestInputMethod);
}
default:
throw new global::System.ArgumentOutOfRangeException(nameof(reader));
}
Expand Down
Loading
Loading