Class RelationTypeDisplay
Namespace: Umbraco.Web.Models.ContentEditing
Assembly: Umbraco.Web.dll
Syntax
[DataContract(Name = "relationType", Namespace = "")]
public class RelationTypeDisplay : EntityBasic, INotificationModel
Constructors
View SourceRelationTypeDisplay()
Declaration
public RelationTypeDisplay()
Properties
View SourceChildObjectType
Gets or sets the Child's object type id
Declaration
[DataMember(Name = "childObjectType", IsRequired = true)]
public Guid? ChildObjectType { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Guid> |
Remarks
Corresponds to the NodeObjectType in the umbracoNode table
ChildObjectTypeName
Gets or sets the Child's object type name.
Declaration
[DataMember(Name = "childObjectTypeName")]
public string ChildObjectTypeName { get; set; }
Property Value
Type | Description |
---|---|
System.String |
IsBidirectional
Gets or sets a boolean indicating whether the RelationType is Bidirectional (true) or Parent to Child (false)
Declaration
[DataMember(Name = "isBidirectional", IsRequired = true)]
public bool IsBidirectional { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
IsSystemRelationType
Declaration
[DataMember(Name = "isSystemRelationType")]
public bool IsSystemRelationType { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Notifications
This is used to add custom localized messages/strings to the response for the app to use for localized UI purposes.
Declaration
[DataMember(Name = "notifications")]
public List<Notification> Notifications { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<Notification> |
ParentObjectType
Gets or sets the Parents object type id
Declaration
[DataMember(Name = "parentObjectType", IsRequired = true)]
public Guid? ParentObjectType { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Guid> |
Remarks
Corresponds to the NodeObjectType in the umbracoNode table
ParentObjectTypeName
Gets or sets the Parent's object type name.
Declaration
[DataMember(Name = "parentObjectTypeName")]
public string ParentObjectTypeName { get; set; }
Property Value
Type | Description |
---|---|
System.String |