2018-06-13 15:17:31 +02:00
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
|
using System.Runtime.Serialization;
|
2018-06-13 20:19:18 +02:00
|
|
|
|
|
2021-02-18 11:06:02 +01:00
|
|
|
|
namespace Umbraco.Cms.Core.Models.ContentEditing
|
2018-06-13 15:17:31 +02:00
|
|
|
|
{
|
2018-06-13 20:19:18 +02:00
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// The dictionary overview display.
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
[DataContract(Name = "dictionary", Namespace = "")]
|
|
|
|
|
|
public class DictionaryOverviewDisplay
|
|
|
|
|
|
{
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// Initializes a new instance of the <see cref="DictionaryOverviewDisplay"/> class.
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
public DictionaryOverviewDisplay()
|
|
|
|
|
|
{
|
2018-06-13 15:17:31 +02:00
|
|
|
|
Translations = new List<DictionaryOverviewTranslationDisplay>();
|
2018-06-13 20:19:18 +02:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// Gets or sets the key.
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
[DataMember(Name = "name")]
|
|
|
|
|
|
public string Name { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// Gets or sets the id.
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
[DataMember(Name = "id")]
|
|
|
|
|
|
public int Id { get; set; }
|
2021-02-18 11:06:02 +01:00
|
|
|
|
|
2018-06-13 20:19:18 +02:00
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// Gets or sets the level.
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
[DataMember(Name = "level")]
|
|
|
|
|
|
public int Level { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// Gets or sets the translations.
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
[DataMember(Name = "translations")]
|
|
|
|
|
|
public List<DictionaryOverviewTranslationDisplay> Translations { get; set; }
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|