Class ValidationErrorResponse
Validation error response when a value provided from the client does not pass validation on server type param title param status param code param detail param instance param errors param
Namespace: Unity.GameBackend.CloudCode.Models
Syntax
public class ValidationErrorResponse : object
Constructors
ValidationErrorResponse(String, String, Int32, Int32, String, List<ValidationErrorBody>, String)
Validation error response when a value provided from the client does not pass validation on server
Declaration
public ValidationErrorResponse(string type, string title, int status, int code, string detail, List<ValidationErrorBody> errors, string instance = null)
Parameters
| Type | Name | Description |
|---|---|---|
| String | type | type param |
| String | title | title param |
| Int32 | status | status param |
| Int32 | code | code param |
| String | detail | detail param |
| List<ValidationErrorBody> | errors | errors param |
| String | instance | instance param |
Properties
Code
Declaration
public int Code { get; }
Property Value
| Type | Description |
|---|---|
| Int32 |
Detail
Declaration
public string Detail { get; }
Property Value
| Type | Description |
|---|---|
| String |
Errors
Declaration
public List<ValidationErrorBody> Errors { get; }
Property Value
| Type | Description |
|---|---|
| List<ValidationErrorBody> |
Instance
Declaration
public string Instance { get; }
Property Value
| Type | Description |
|---|---|
| String |
Status
Declaration
public int Status { get; }
Property Value
| Type | Description |
|---|---|
| Int32 |
Title
Declaration
public string Title { get; }
Property Value
| Type | Description |
|---|---|
| String |
Type
Declaration
public string Type { get; }
Property Value
| Type | Description |
|---|---|
| String |