Class PropertyValidationResponseModel
Represents a model containing the results of validating a content property.
Inheritance
object
Namespace: Umbraco.Cms.Api.Management.ViewModels.Content
Assembly: Umbraco.Cms.Api.Management.dll
Syntax
public class PropertyValidationResponseModel
Constructors
View SourcePropertyValidationResponseModel()
Declaration
public PropertyValidationResponseModel()
Properties
View SourceAlias
Gets or sets the alias of the property for which the validation response applies.
Declaration
public string Alias { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Culture
Gets or sets the culture associated with the property validation response.
Declaration
public string? Culture { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Messages
Gets or sets the collection of validation messages associated with the property.
Declaration
public string[] Messages { get; set; }
Property Value
| Type | Description |
|---|---|
| string[] |
Segment
Gets or sets the segment associated with the property validation response.
Declaration
public string? Segment { get; set; }
Property Value
| Type | Description |
|---|---|
| string |