// <auto-generated/>

#nullable disable

using System;
using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;

namespace OpenAI.Containers
{
    [Experimental("OPENAI001")]
    public partial class ContainerFileResource
    {
        private protected IDictionary<string, BinaryData> _additionalBinaryDataProperties;

        internal ContainerFileResource(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 ContainerFileResource(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;
        }
    }
}
