// <auto-generated/>

#nullable disable

using System;
using System.Collections.Generic;

namespace OpenAI.Containers
{
    internal partial class InternalContainerFileResource
    {
        private protected IDictionary<string, BinaryData> _additionalBinaryDataProperties;

        internal InternalContainerFileResource(string id, string @object, string containerId, DateTimeOffset createdAt, int bytes, string path, string source)
        {
            Id = id;
            Object = @object;
            ContainerId = containerId;
            CreatedAt = createdAt;
            Bytes = bytes;
            Path = path;
            Source = source;
        }

        internal InternalContainerFileResource(string id, string @object, string containerId, DateTimeOffset createdAt, int bytes, string path, string source, IDictionary<string, BinaryData> additionalBinaryDataProperties)
        {
            Id = id;
            Object = @object;
            ContainerId = containerId;
            CreatedAt = createdAt;
            Bytes = bytes;
            Path = path;
            Source = source;
            _additionalBinaryDataProperties = additionalBinaryDataProperties;
        }

        public string Id { get; }

        public string Object { get; }

        public string ContainerId { get; }

        public DateTimeOffset CreatedAt { get; }

        public int Bytes { get; }

        public string Path { get; }

        public string Source { get; }

        internal IDictionary<string, BinaryData> SerializedAdditionalRawData
        {
            get => _additionalBinaryDataProperties;
            set => _additionalBinaryDataProperties = value;
        }
    }
}
