// <auto-generated/>

#nullable disable

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

namespace OpenAI.Responses
{
    public partial class ComputerCallOutputResponseItem : ResponseItem
    {
        public ComputerCallOutputResponseItem(string callId, IEnumerable<ComputerCallSafetyCheck> acknowledgedSafetyChecks, ComputerOutput output) : base(InternalResponsesItemType.ComputerCallOutput)
        {
            Argument.AssertNotNull(callId, nameof(callId));
            Argument.AssertNotNull(acknowledgedSafetyChecks, nameof(acknowledgedSafetyChecks));
            Argument.AssertNotNull(output, nameof(output));

            CallId = callId;
            AcknowledgedSafetyChecks = acknowledgedSafetyChecks.ToList();
            Output = output;
        }

        internal ComputerCallOutputResponseItem(InternalResponsesItemType @type, string id, IDictionary<string, BinaryData> additionalBinaryDataProperties, string callId, IList<ComputerCallSafetyCheck> acknowledgedSafetyChecks, ComputerOutput output, ComputerCallOutputStatus? status) : base(@type, id, additionalBinaryDataProperties)
        {
            CallId = callId;
            AcknowledgedSafetyChecks = acknowledgedSafetyChecks;
            Output = output;
            Status = status;
        }

        public string CallId { get; set; }

        public IList<ComputerCallSafetyCheck> AcknowledgedSafetyChecks { get; }

        public ComputerOutput Output { get; set; }

        public ComputerCallOutputStatus? Status { get; }
    }
}
