// <auto-generated/>

#nullable disable

using System;
using System.ComponentModel;
using OpenAI;

namespace OpenAI.Internal
{
    internal readonly partial struct InternalModelIdsShared : IEquatable<InternalModelIdsShared>
    {
        private readonly string _value;
        private const string Gpt41Value = "gpt-4.1";
        private const string Gpt41MiniValue = "gpt-4.1-mini";
        private const string Gpt41NanoValue = "gpt-4.1-nano";
        private const string Gpt4120250414Value = "gpt-4.1-2025-04-14";
        private const string Gpt41Mini20250414Value = "gpt-4.1-mini-2025-04-14";
        private const string Gpt41Nano20250414Value = "gpt-4.1-nano-2025-04-14";
        private const string O4MiniValue = "o4-mini";
        private const string O4Mini20250416Value = "o4-mini-2025-04-16";
        private const string O3Value = "o3";
        private const string O320250416Value = "o3-2025-04-16";
        private const string O3MiniValue = "o3-mini";
        private const string O3Mini20250131Value = "o3-mini-2025-01-31";
        private const string O1Value = "o1";
        private const string O120241217Value = "o1-2024-12-17";
        private const string O1PreviewValue = "o1-preview";
        private const string O1Preview20240912Value = "o1-preview-2024-09-12";
        private const string O1MiniValue = "o1-mini";
        private const string O1Mini20240912Value = "o1-mini-2024-09-12";
        private const string Gpt4oValue = "gpt-4o";
        private const string Gpt4o20241120Value = "gpt-4o-2024-11-20";
        private const string Gpt4o20240806Value = "gpt-4o-2024-08-06";
        private const string Gpt4o20240513Value = "gpt-4o-2024-05-13";
        private const string Gpt4oAudioPreviewValue = "gpt-4o-audio-preview";
        private const string Gpt4oAudioPreview20241001Value = "gpt-4o-audio-preview-2024-10-01";
        private const string Gpt4oAudioPreview20241217Value = "gpt-4o-audio-preview-2024-12-17";
        private const string Gpt4oAudioPreview20250603Value = "gpt-4o-audio-preview-2025-06-03";
        private const string Gpt4oMiniAudioPreviewValue = "gpt-4o-mini-audio-preview";
        private const string Gpt4oMiniAudioPreview20241217Value = "gpt-4o-mini-audio-preview-2024-12-17";
        private const string Gpt4oSearchPreviewValue = "gpt-4o-search-preview";
        private const string Gpt4oMiniSearchPreviewValue = "gpt-4o-mini-search-preview";
        private const string Gpt4oSearchPreview20250311Value = "gpt-4o-search-preview-2025-03-11";
        private const string Gpt4oMiniSearchPreview20250311Value = "gpt-4o-mini-search-preview-2025-03-11";
        private const string Chatgpt4oLatestValue = "chatgpt-4o-latest";
        private const string CodexMiniLatestValue = "codex-mini-latest";
        private const string Gpt4oMiniValue = "gpt-4o-mini";
        private const string Gpt4oMini20240718Value = "gpt-4o-mini-2024-07-18";
        private const string Gpt4TurboValue = "gpt-4-turbo";
        private const string Gpt4Turbo20240409Value = "gpt-4-turbo-2024-04-09";
        private const string Gpt40125PreviewValue = "gpt-4-0125-preview";
        private const string Gpt4TurboPreviewValue = "gpt-4-turbo-preview";
        private const string Gpt41106PreviewValue = "gpt-4-1106-preview";
        private const string Gpt4VisionPreviewValue = "gpt-4-vision-preview";
        private const string Gpt4Value = "gpt-4";
        private const string Gpt40314Value = "gpt-4-0314";
        private const string Gpt40613Value = "gpt-4-0613";
        private const string Gpt432kValue = "gpt-4-32k";
        private const string Gpt432k0314Value = "gpt-4-32k-0314";
        private const string Gpt432k0613Value = "gpt-4-32k-0613";
        private const string Gpt35TurboValue = "gpt-3.5-turbo";
        private const string Gpt35Turbo16kValue = "gpt-3.5-turbo-16k";
        private const string Gpt35Turbo0301Value = "gpt-3.5-turbo-0301";
        private const string Gpt35Turbo0613Value = "gpt-3.5-turbo-0613";
        private const string Gpt35Turbo1106Value = "gpt-3.5-turbo-1106";
        private const string Gpt35Turbo0125Value = "gpt-3.5-turbo-0125";
        private const string Gpt35Turbo16k0613Value = "gpt-3.5-turbo-16k-0613";

        public InternalModelIdsShared(string value)
        {
            Argument.AssertNotNull(value, nameof(value));

            _value = value;
        }

        internal static InternalModelIdsShared Gpt41 { get; } = new InternalModelIdsShared(Gpt41Value);

        internal static InternalModelIdsShared Gpt41Mini { get; } = new InternalModelIdsShared(Gpt41MiniValue);

        internal static InternalModelIdsShared Gpt41Nano { get; } = new InternalModelIdsShared(Gpt41NanoValue);

        internal static InternalModelIdsShared Gpt4120250414 { get; } = new InternalModelIdsShared(Gpt4120250414Value);

        internal static InternalModelIdsShared Gpt41Mini20250414 { get; } = new InternalModelIdsShared(Gpt41Mini20250414Value);

        internal static InternalModelIdsShared Gpt41Nano20250414 { get; } = new InternalModelIdsShared(Gpt41Nano20250414Value);

        internal static InternalModelIdsShared O4Mini { get; } = new InternalModelIdsShared(O4MiniValue);

        internal static InternalModelIdsShared O4Mini20250416 { get; } = new InternalModelIdsShared(O4Mini20250416Value);

        internal static InternalModelIdsShared O3 { get; } = new InternalModelIdsShared(O3Value);

        internal static InternalModelIdsShared O320250416 { get; } = new InternalModelIdsShared(O320250416Value);

        internal static InternalModelIdsShared O3Mini { get; } = new InternalModelIdsShared(O3MiniValue);

        internal static InternalModelIdsShared O3Mini20250131 { get; } = new InternalModelIdsShared(O3Mini20250131Value);

        internal static InternalModelIdsShared O1 { get; } = new InternalModelIdsShared(O1Value);

        internal static InternalModelIdsShared O120241217 { get; } = new InternalModelIdsShared(O120241217Value);

        internal static InternalModelIdsShared O1Preview { get; } = new InternalModelIdsShared(O1PreviewValue);

        internal static InternalModelIdsShared O1Preview20240912 { get; } = new InternalModelIdsShared(O1Preview20240912Value);

        internal static InternalModelIdsShared O1Mini { get; } = new InternalModelIdsShared(O1MiniValue);

        internal static InternalModelIdsShared O1Mini20240912 { get; } = new InternalModelIdsShared(O1Mini20240912Value);

        internal static InternalModelIdsShared Gpt4o { get; } = new InternalModelIdsShared(Gpt4oValue);

        internal static InternalModelIdsShared Gpt4o20241120 { get; } = new InternalModelIdsShared(Gpt4o20241120Value);

        internal static InternalModelIdsShared Gpt4o20240806 { get; } = new InternalModelIdsShared(Gpt4o20240806Value);

        internal static InternalModelIdsShared Gpt4o20240513 { get; } = new InternalModelIdsShared(Gpt4o20240513Value);

        internal static InternalModelIdsShared Gpt4oAudioPreview { get; } = new InternalModelIdsShared(Gpt4oAudioPreviewValue);

        internal static InternalModelIdsShared Gpt4oAudioPreview20241001 { get; } = new InternalModelIdsShared(Gpt4oAudioPreview20241001Value);

        internal static InternalModelIdsShared Gpt4oAudioPreview20241217 { get; } = new InternalModelIdsShared(Gpt4oAudioPreview20241217Value);

        internal static InternalModelIdsShared Gpt4oAudioPreview20250603 { get; } = new InternalModelIdsShared(Gpt4oAudioPreview20250603Value);

        internal static InternalModelIdsShared Gpt4oMiniAudioPreview { get; } = new InternalModelIdsShared(Gpt4oMiniAudioPreviewValue);

        internal static InternalModelIdsShared Gpt4oMiniAudioPreview20241217 { get; } = new InternalModelIdsShared(Gpt4oMiniAudioPreview20241217Value);

        internal static InternalModelIdsShared Gpt4oSearchPreview { get; } = new InternalModelIdsShared(Gpt4oSearchPreviewValue);

        internal static InternalModelIdsShared Gpt4oMiniSearchPreview { get; } = new InternalModelIdsShared(Gpt4oMiniSearchPreviewValue);

        internal static InternalModelIdsShared Gpt4oSearchPreview20250311 { get; } = new InternalModelIdsShared(Gpt4oSearchPreview20250311Value);

        internal static InternalModelIdsShared Gpt4oMiniSearchPreview20250311 { get; } = new InternalModelIdsShared(Gpt4oMiniSearchPreview20250311Value);

        internal static InternalModelIdsShared Chatgpt4oLatest { get; } = new InternalModelIdsShared(Chatgpt4oLatestValue);

        internal static InternalModelIdsShared CodexMiniLatest { get; } = new InternalModelIdsShared(CodexMiniLatestValue);

        internal static InternalModelIdsShared Gpt4oMini { get; } = new InternalModelIdsShared(Gpt4oMiniValue);

        internal static InternalModelIdsShared Gpt4oMini20240718 { get; } = new InternalModelIdsShared(Gpt4oMini20240718Value);

        internal static InternalModelIdsShared Gpt4Turbo { get; } = new InternalModelIdsShared(Gpt4TurboValue);

        internal static InternalModelIdsShared Gpt4Turbo20240409 { get; } = new InternalModelIdsShared(Gpt4Turbo20240409Value);

        internal static InternalModelIdsShared Gpt40125Preview { get; } = new InternalModelIdsShared(Gpt40125PreviewValue);

        internal static InternalModelIdsShared Gpt4TurboPreview { get; } = new InternalModelIdsShared(Gpt4TurboPreviewValue);

        internal static InternalModelIdsShared Gpt41106Preview { get; } = new InternalModelIdsShared(Gpt41106PreviewValue);

        internal static InternalModelIdsShared Gpt4VisionPreview { get; } = new InternalModelIdsShared(Gpt4VisionPreviewValue);

        internal static InternalModelIdsShared Gpt4 { get; } = new InternalModelIdsShared(Gpt4Value);

        internal static InternalModelIdsShared Gpt40314 { get; } = new InternalModelIdsShared(Gpt40314Value);

        internal static InternalModelIdsShared Gpt40613 { get; } = new InternalModelIdsShared(Gpt40613Value);

        internal static InternalModelIdsShared Gpt432k { get; } = new InternalModelIdsShared(Gpt432kValue);

        internal static InternalModelIdsShared Gpt432k0314 { get; } = new InternalModelIdsShared(Gpt432k0314Value);

        internal static InternalModelIdsShared Gpt432k0613 { get; } = new InternalModelIdsShared(Gpt432k0613Value);

        internal static InternalModelIdsShared Gpt35Turbo { get; } = new InternalModelIdsShared(Gpt35TurboValue);

        internal static InternalModelIdsShared Gpt35Turbo16k { get; } = new InternalModelIdsShared(Gpt35Turbo16kValue);

        internal static InternalModelIdsShared Gpt35Turbo0301 { get; } = new InternalModelIdsShared(Gpt35Turbo0301Value);

        internal static InternalModelIdsShared Gpt35Turbo0613 { get; } = new InternalModelIdsShared(Gpt35Turbo0613Value);

        internal static InternalModelIdsShared Gpt35Turbo1106 { get; } = new InternalModelIdsShared(Gpt35Turbo1106Value);

        internal static InternalModelIdsShared Gpt35Turbo0125 { get; } = new InternalModelIdsShared(Gpt35Turbo0125Value);

        internal static InternalModelIdsShared Gpt35Turbo16k0613 { get; } = new InternalModelIdsShared(Gpt35Turbo16k0613Value);

        public static bool operator ==(InternalModelIdsShared left, InternalModelIdsShared right) => left.Equals(right);

        public static bool operator !=(InternalModelIdsShared left, InternalModelIdsShared right) => !left.Equals(right);

        public static implicit operator InternalModelIdsShared(string value) => new InternalModelIdsShared(value);

        [EditorBrowsable(EditorBrowsableState.Never)]
        public override bool Equals(object obj) => obj is InternalModelIdsShared other && Equals(other);

        public bool Equals(InternalModelIdsShared other) => string.Equals(_value, other._value, StringComparison.InvariantCultureIgnoreCase);

        [EditorBrowsable(EditorBrowsableState.Never)]
        public override int GetHashCode() => _value != null ? StringComparer.InvariantCultureIgnoreCase.GetHashCode(_value) : 0;

        public override string ToString() => _value;
    }
}
