// <auto-generated/>

#nullable disable

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

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

        internal ContainerResource(string id, string @object, string name, DateTimeOffset createdAt, string status)
        {
            Id = id;
            Object = @object;
            Name = name;
            CreatedAt = createdAt;
            Status = status;
        }

        internal ContainerResource(string id, string @object, string name, DateTimeOffset createdAt, string status, ContainerResourceExpiresAfter expiresAfter, IDictionary<string, BinaryData> additionalBinaryDataProperties)
        {
            Id = id;
            Object = @object;
            Name = name;
            CreatedAt = createdAt;
            Status = status;
            ExpiresAfter = expiresAfter;
            _additionalBinaryDataProperties = additionalBinaryDataProperties;
        }

        public string Id { get; }

        public string Object { get; }

        public string Name { get; }

        public DateTimeOffset CreatedAt { get; }

        public string Status { get; }

        public ContainerResourceExpiresAfter ExpiresAfter { get; }

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