
#nullable enable

namespace Google.Gemini
{
    /// <summary>
    /// Request for `CreateFile`.
    /// </summary>
    public sealed partial class CreateFileRequest
    {
        /// <summary>
        /// A file uploaded to the API. Next ID: 15
        /// </summary>
        [global::System.Text.Json.Serialization.JsonPropertyName("file")]
        public global::Google.Gemini.File? File { 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="CreateFileRequest" /> class.
        /// </summary>
        /// <param name="file">
        /// A file uploaded to the API. Next ID: 15
        /// </param>
#if NET7_0_OR_GREATER
        [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
#endif
        public CreateFileRequest(
            global::Google.Gemini.File? file)
        {
            this.File = file;
        }

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

    }
}