csharp/Microsoft.Azure.Databricks.Client/Models/ViewItem.cs (13 lines of code) (raw):

// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. using System.Text.Json.Serialization; namespace Microsoft.Azure.Databricks.Client.Models; /// <summary> /// The exported content is in HTML format. We may support other formats in the future. For example, if the view to export is dashboards, one HTML string is returned for every dashboard. /// </summary> public record ViewItem { /// <summary> /// Content of the view /// </summary> [JsonPropertyName("content")] public string Content { get; set; } /// <summary> /// Name of the view item. In the case of code view, it would be the notebook's name. In the case of dashboard view, it would be the dashboard's name. /// </summary> [JsonPropertyName("name")] public string Name { get; set; } /// <summary> /// Type of the view item (e.g., NOTEBOOK, DASHBOARD) /// </summary> [JsonPropertyName("type")] [JsonIgnore(Condition = JsonIgnoreCondition.Never)] public ViewType Type { get; set; } }