
#nullable enable

namespace Google.Gemini
{
    /// <summary>
    /// The configuration for the prebuilt speaker to use.
    /// </summary>
    public sealed partial class PrebuiltVoiceConfig
    {
        /// <summary>
        /// The name of the preset voice to use.
        /// </summary>
        [global::System.Text.Json.Serialization.JsonPropertyName("voiceName")]
        public string? VoiceName { 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="PrebuiltVoiceConfig" /> class.
        /// </summary>
        /// <param name="voiceName">
        /// The name of the preset voice to use.
        /// </param>
#if NET7_0_OR_GREATER
        [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
#endif
        public PrebuiltVoiceConfig(
            string? voiceName)
        {
            this.VoiceName = voiceName;
        }

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

    }
}