
#nullable enable

namespace Google.Gemini
{
    /// <summary>
    /// Google search entry point.
    /// </summary>
    public sealed partial class SearchEntryPoint
    {
        /// <summary>
        /// Optional. Base64 encoded JSON representing array of tuple.
        /// </summary>
        [global::System.Text.Json.Serialization.JsonPropertyName("sdkBlob")]
        public byte[]? SdkBlob { get; set; }

        /// <summary>
        /// Optional. Web content snippet that can be embedded in a web page or an app webview.
        /// </summary>
        [global::System.Text.Json.Serialization.JsonPropertyName("renderedContent")]
        public string? RenderedContent { 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="SearchEntryPoint" /> class.
        /// </summary>
        /// <param name="sdkBlob">
        /// Optional. Base64 encoded JSON representing array of tuple.
        /// </param>
        /// <param name="renderedContent">
        /// Optional. Web content snippet that can be embedded in a web page or an app webview.
        /// </param>
#if NET7_0_OR_GREATER
        [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
#endif
        public SearchEntryPoint(
            byte[]? sdkBlob,
            string? renderedContent)
        {
            this.SdkBlob = sdkBlob;
            this.RenderedContent = renderedContent;
        }

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

    }
}