View Source
Class RelationResponseModel
Inheritance
System.Object
Assembly: Umbraco.Cms.Api.Management.dll
Syntax
public class RelationResponseModel
Constructors
View Source
RelationResponseModel(ReferenceByIdModel, RelationReferenceModel, RelationReferenceModel)
Declaration
public RelationResponseModel(ReferenceByIdModel relationType, RelationReferenceModel parent, RelationReferenceModel child)
Parameters
Properties
View Source
Child
Gets or sets the Child of the Relation (Destination).
Declaration
[Required]
public RelationReferenceModel Child { get; set; }
Property Value
View Source
Gets or sets a comment for the Relation.
Declaration
public string Comment { get; set; }
Property Value
Type |
Description |
System.String |
|
View Source
CreateDate
Gets or sets the date when the Relation was created.
Declaration
public DateTimeOffset CreateDate { get; set; }
Property Value
Type |
Description |
DateTimeOffset |
|
View Source
Id
Declaration
public Guid Id { get; set; }
Property Value
View Source
Parent
Gets or sets the Parent of the Relation (Source).
Declaration
[Required]
public RelationReferenceModel Parent { get; set; }
Property Value
View Source
RelationType
Gets or sets the Type of relation
Declaration
public ReferenceByIdModel RelationType { get; set; }
Property Value