Class CloudSaveValidationErrorDetail
Namespace: Unity.Services.CloudSave
Syntax
[Preserve]
public class CloudSaveValidationErrorDetail
Constructors
CloudSaveValidationErrorDetail(String, List<String>, String)
Single error in the Validation Error Response.
Declaration
[Preserve]
public CloudSaveValidationErrorDetail(string field, List<string> messages, string key = null)
Parameters
| Type | Name | Description |
|---|---|---|
| String | field | The field in the data that caused the error. |
| List<String> | messages | Messages that describe the errors. |
| String | key | The data key that caused the error. |
Properties
Field
Declaration
[Preserve]
public string Field { get; }
Property Value
| Type | Description |
|---|---|
| String |
Key
Declaration
[Preserve]
public string Key { get; }
Property Value
| Type | Description |
|---|---|
| String |
Messages
Declaration
[Preserve]
public List<string> Messages { get; }
Property Value
| Type | Description |
|---|---|
| List<String> |