Class BatchValidationErrorBody
Single error in the Batch Validation Error Response.
Inherited Members
Namespace: Unity.Services.Apis.CloudSave
Assembly: Unity.Services.Apis.dll
Syntax
[DataContract(Name = "BatchValidationErrorBody")]
[Preserve]
public class BatchValidationErrorBody
Constructors
BatchValidationErrorBody(string, List<string>, string)
Initializes a new instance of the Batch
Declaration
[Preserve]
public BatchValidationErrorBody(string field = null, List<string> messages = null, string key = null)
Parameters
Type | Name | Description |
---|---|---|
string | field | field (required). |
List<string> | messages | messages (required). |
string | key | key (required). |
Properties
Field
Gets or Sets Field
Declaration
[DataMember(Name = "field", IsRequired = true, EmitDefaultValue = true)]
[Preserve]
public string Field { get; set; }
Property Value
Type | Description |
---|---|
string |
Key
Gets or Sets Key
Declaration
[DataMember(Name = "key", IsRequired = true, EmitDefaultValue = true)]
[Preserve]
public string Key { get; set; }
Property Value
Type | Description |
---|---|
string |
Messages
Gets or Sets Messages
Declaration
[DataMember(Name = "messages", IsRequired = true, EmitDefaultValue = true)]
[Preserve]
public List<string> Messages { get; set; }