
#nullable enable

namespace Google.Gemini
{
    /// <summary>
    /// Response for `RegisterFiles`.
    /// </summary>
    public sealed partial class RegisterFilesResponse
    {
        /// <summary>
        /// The registered files to be used when calling GenerateContent.
        /// </summary>
        [global::System.Text.Json.Serialization.JsonPropertyName("files")]
        public global::System.Collections.Generic.IList<global::Google.Gemini.File>? Files { 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="RegisterFilesResponse" /> class.
        /// </summary>
        /// <param name="files">
        /// The registered files to be used when calling GenerateContent.
        /// </param>
#if NET7_0_OR_GREATER
        [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
#endif
        public RegisterFilesResponse(
            global::System.Collections.Generic.IList<global::Google.Gemini.File>? files)
        {
            this.Files = files;
        }

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

    }
}