View Source
Class ContentVariantDisplay
Represents the variant info for a content item
Inheritance
System.Object
Assembly: Umbraco.Web.dll
Syntax
[DataContract(Name = "contentVariant", Namespace = "")]
public class ContentVariantDisplay : ITabbedContent<ContentPropertyDisplay>, IContentProperties<ContentPropertyDisplay>, INotificationModel
Constructors
View Source
ContentVariantDisplay()
Declaration
public ContentVariantDisplay()
Properties
View Source
CreateDate
Declaration
[DataMember(Name = "createDate")]
public DateTime CreateDate { get; set; }
Property Value
Type |
Description |
System.DateTime |
|
View Source
DisplayName
Declaration
[DataMember(Name = "displayName")]
public string DisplayName { get; set; }
Property Value
Type |
Description |
System.String |
|
View Source
ExpireDate
Declaration
[DataMember(Name = "expireDate")]
public DateTime? ExpireDate { get; set; }
Property Value
Type |
Description |
System.Nullable<System.DateTime> |
|
View Source
Language
The language/culture assigned to this content variation
Declaration
[DataMember(Name = "language")]
public Language Language { get; set; }
Property Value
View Source
Name
Declaration
[DataMember(Name = "name", IsRequired = true)]
public string Name { get; set; }
Property Value
Type |
Description |
System.String |
|
View Source
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> |
|
View Source
PublishDate
Declaration
[DataMember(Name = "publishDate")]
public DateTime? PublishDate { get; set; }
Property Value
Type |
Description |
System.Nullable<System.DateTime> |
|
View Source
ReleaseDate
Declaration
[DataMember(Name = "releaseDate")]
public DateTime? ReleaseDate { get; set; }
Property Value
Type |
Description |
System.Nullable<System.DateTime> |
|
View Source
Segment
Declaration
[DataMember(Name = "segment")]
public string Segment { get; set; }
Property Value
Type |
Description |
System.String |
|
View Source
State
Declaration
[DataMember(Name = "state")]
public ContentSavedState State { get; set; }
Property Value
View Source
Tabs
Defines the tabs containing display properties
Declaration
[DataMember(Name = "tabs")]
public IEnumerable<Tab<ContentPropertyDisplay>> Tabs { get; set; }
Property Value
View Source
UpdateDate
Declaration
[DataMember(Name = "updateDate")]
public DateTime UpdateDate { get; set; }
Property Value
Type |
Description |
System.DateTime |
|
Explicit Interface Implementations
View Source
IContentProperties<ContentPropertyDisplay>.Properties
Internal property used for tests to get all properties from all tabs
Declaration
[IgnoreDataMember]
IEnumerable<ContentPropertyDisplay> IContentProperties<ContentPropertyDisplay>.Properties { get; }
Returns