2020-11-19 15:21:10 +01:00
|
|
|
|
using System.Runtime.Serialization;
|
|
|
|
|
|
|
2021-02-18 11:06:02 +01:00
|
|
|
|
namespace Umbraco.Cms.Core.PropertyEditors
|
2020-11-19 15:21:10 +01:00
|
|
|
|
{
|
|
|
|
|
|
/// <summary>
|
2021-02-18 11:06:02 +01:00
|
|
|
|
/// Represents the 'startNode' value for the <see cref="MultiNodePickerConfiguration"/>
|
2020-11-19 15:21:10 +01:00
|
|
|
|
/// </summary>
|
|
|
|
|
|
[DataContract]
|
|
|
|
|
|
public class MultiNodePickerConfigurationTreeSource
|
|
|
|
|
|
{
|
|
|
|
|
|
[DataMember(Name = "type")]
|
2022-02-16 16:03:53 +01:00
|
|
|
|
public string? ObjectType { get; set; }
|
2020-11-19 15:21:10 +01:00
|
|
|
|
|
|
|
|
|
|
[DataMember(Name = "query")]
|
2022-02-16 16:03:53 +01:00
|
|
|
|
public string? StartNodeQuery { get; set; }
|
2020-11-19 15:21:10 +01:00
|
|
|
|
|
|
|
|
|
|
[DataMember(Name = "id")]
|
2022-02-16 16:03:53 +01:00
|
|
|
|
public Udi? StartNodeId { get; set; }
|
2020-11-19 15:21:10 +01:00
|
|
|
|
}
|
|
|
|
|
|
}
|