// <auto-generated/>

#nullable disable

using System;
using System.Collections.Generic;

namespace OpenAI.Models
{
    public partial class OpenAIModelInfo
    {
        internal IDictionary<string, BinaryData> _serializedAdditionalRawData;

        internal OpenAIModelInfo(string id, DateTimeOffset createdAt, string ownedBy)
        {
            Argument.AssertNotNull(id, nameof(id));
            Argument.AssertNotNull(ownedBy, nameof(ownedBy));

            Id = id;
            CreatedAt = createdAt;
            OwnedBy = ownedBy;
        }

        internal OpenAIModelInfo(string id, DateTimeOffset createdAt, InternalModelObject @object, string ownedBy, IDictionary<string, BinaryData> serializedAdditionalRawData)
        {
            Id = id;
            CreatedAt = createdAt;
            Object = @object;
            OwnedBy = ownedBy;
            _serializedAdditionalRawData = serializedAdditionalRawData;
        }

        internal OpenAIModelInfo()
        {
        }

        public string Id { get; }

        public string OwnedBy { get; }
    }
}
