// <auto-generated/>

#nullable disable

using System;
using System.Collections.Generic;
using OpenAI;

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

        internal InternalCreateModerationRequestInput2(InternalCreateModerationRequestInputImageUrl imageUrl)
        {
            Argument.AssertNotNull(imageUrl, nameof(imageUrl));

            ImageUrl = imageUrl;
        }

        internal InternalCreateModerationRequestInput2(string kind, InternalCreateModerationRequestInputImageUrl imageUrl, IDictionary<string, BinaryData> additionalBinaryDataProperties)
        {
            Kind = kind;
            ImageUrl = imageUrl;
            _additionalBinaryDataProperties = additionalBinaryDataProperties;
        }

        public string Kind { get; } = "image_url";

        internal InternalCreateModerationRequestInputImageUrl ImageUrl { get; }

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