View Source
Class ContentVariantSave
Inheritance
System.Object
Assembly: Umbraco.Core.dll
Syntax
[DataContract(Name = "contentVariant", Namespace = "")]
public class ContentVariantSave : IContentProperties<ContentPropertyBasic>
Constructors
View Source
ContentVariantSave()
Declaration
public ContentVariantSave()
Properties
View Source
Culture
The culture of this variant, if this is invariant than this is null or empty
Declaration
[DataMember(Name = "culture")]
public string Culture { 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<DateTime> |
|
View Source
Name
Declaration
[DataMember(Name = "name", IsRequired = true)]
[MaxLength(255, ErrorMessage = "Name must be less than 255 characters")]
public string Name { get; set; }
Property Value
Type |
Description |
System.String |
|
View Source
Properties
Declaration
[DataMember(Name = "properties")]
public IEnumerable<ContentPropertyBasic> Properties { get; set; }
Property Value
View Source
PropertyCollectionDto
The property DTO object is used to gather all required property data including data type information etc... for use
with validation - used during inbound model binding
Declaration
[IgnoreDataMember]
public ContentPropertyCollectionDto PropertyCollectionDto { get; set; }
Property Value
View Source
Publish
Indicates if the variant should be published
Declaration
[DataMember(Name = "publish")]
public bool Publish { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
View Source
ReleaseDate
Declaration
[DataMember(Name = "releaseDate")]
public DateTime? ReleaseDate { get; set; }
Property Value
Type |
Description |
System.Nullable<DateTime> |
|
View Source
Save
Indicates if the variant should be updated
Declaration
[DataMember(Name = "save")]
public bool Save { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
View Source
Segment
The segment of this variant, if this is invariant than this is null or empty
Declaration
[DataMember(Name = "segment")]
public string Segment { get; set; }
Property Value
Type |
Description |
System.String |
|