
#nullable enable

namespace Google.Gemini
{
    /// <summary>
    /// Stats about the batch.
    /// </summary>
    public sealed partial class EmbedContentBatchStats
    {
        /// <summary>
        /// Output only. The number of requests that are still pending processing.<br/>
        /// Included only in responses
        /// </summary>
        [global::System.Text.Json.Serialization.JsonPropertyName("pendingRequestCount")]
        public string? PendingRequestCount { get; set; }

        /// <summary>
        /// Output only. The number of requests that were successfully processed.<br/>
        /// Included only in responses
        /// </summary>
        [global::System.Text.Json.Serialization.JsonPropertyName("successfulRequestCount")]
        public string? SuccessfulRequestCount { get; set; }

        /// <summary>
        /// Output only. The number of requests that failed to be processed.<br/>
        /// Included only in responses
        /// </summary>
        [global::System.Text.Json.Serialization.JsonPropertyName("failedRequestCount")]
        public string? FailedRequestCount { get; set; }

        /// <summary>
        /// Output only. The number of requests in the batch.<br/>
        /// Included only in responses
        /// </summary>
        [global::System.Text.Json.Serialization.JsonPropertyName("requestCount")]
        public string? RequestCount { get; set; }

        /// <summary>
        /// Additional properties that are not explicitly defined in the schema
        /// </summary>
        [global::System.Text.Json.Serialization.JsonExtensionData]
        public global::System.Collections.Generic.IDictionary<string, object> AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary<string, object>();

        /// <summary>
        /// Initializes a new instance of the <see cref="EmbedContentBatchStats" /> class.
        /// </summary>
        /// <param name="pendingRequestCount">
        /// Output only. The number of requests that are still pending processing.<br/>
        /// Included only in responses
        /// </param>
        /// <param name="successfulRequestCount">
        /// Output only. The number of requests that were successfully processed.<br/>
        /// Included only in responses
        /// </param>
        /// <param name="failedRequestCount">
        /// Output only. The number of requests that failed to be processed.<br/>
        /// Included only in responses
        /// </param>
        /// <param name="requestCount">
        /// Output only. The number of requests in the batch.<br/>
        /// Included only in responses
        /// </param>
#if NET7_0_OR_GREATER
        [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
#endif
        public EmbedContentBatchStats(
            string? pendingRequestCount,
            string? successfulRequestCount,
            string? failedRequestCount,
            string? requestCount)
        {
            this.PendingRequestCount = pendingRequestCount;
            this.SuccessfulRequestCount = successfulRequestCount;
            this.FailedRequestCount = failedRequestCount;
            this.RequestCount = requestCount;
        }

        /// <summary>
        /// Initializes a new instance of the <see cref="EmbedContentBatchStats" /> class.
        /// </summary>
        public EmbedContentBatchStats()
        {
        }

    }
}