2017-03-08 14:27:39 +01:00
|
|
|
|
using Newtonsoft.Json;
|
2016-08-03 20:45:01 +01:00
|
|
|
|
|
|
|
|
|
|
namespace Umbraco.Web.Models
|
|
|
|
|
|
{
|
2017-03-08 14:27:39 +01:00
|
|
|
|
public abstract class RelatedLinkBase
|
2016-08-03 20:45:01 +01:00
|
|
|
|
{
|
|
|
|
|
|
[JsonProperty("caption")]
|
|
|
|
|
|
public string Caption { get; set; }
|
|
|
|
|
|
[JsonProperty("link")]
|
|
|
|
|
|
public string Link { get; set; }
|
|
|
|
|
|
[JsonProperty("newWindow")]
|
|
|
|
|
|
public bool NewWindow { get; set; }
|
|
|
|
|
|
[JsonProperty("isInternal")]
|
|
|
|
|
|
public bool IsInternal { get; set; }
|
|
|
|
|
|
[JsonProperty("type")]
|
|
|
|
|
|
public RelatedLinkType Type { get; set; }
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|