v2.0.1
2020.3+

Class CloudSaveValidationErrorDetail

Inheritance
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
TypeNameDescription
Stringfield

The field in the data that caused the error.

List<String>messages

Messages that describe the errors.

Stringkey

The data key that caused the error.

Properties

Field

Declaration
[Preserve]
public string Field { get; }
Property Value
TypeDescription
String

Key

Declaration
[Preserve]
public string Key { get; }
Property Value
TypeDescription
String

Messages

Declaration
[Preserve]
public List<string> Messages { get; }
Property Value
TypeDescription
List<String>