docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class ValidationErrorResponse

    Validation error response when a value provided from the client does not pass validation on server.

    Inheritance
    object
    ValidationErrorResponse
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    Namespace: Unity.Services.Apis.Economy
    Assembly: solution.dll
    Syntax
    [Preserve]
    public class ValidationErrorResponse

    Constructors

    ValidationErrorResponse(string, string, int, int, string, string, List<ValidationErrorBody>)

    Initializes a new instance of the ValidationErrorResponse class.

    Declaration
    [Preserve]
    public ValidationErrorResponse(string type = null, string title = null, int status = 0, int code = 0, string detail = null, string instance = null, List<ValidationErrorBody> errors = null)
    Parameters
    Type Name Description
    string type

    type (required).

    string title

    title (required).

    int status

    status (required).

    int code

    code (required).

    string detail

    detail (required).

    string instance

    instance.

    List<ValidationErrorBody> errors

    errors (required).

    Properties

    Code

    Gets or Sets Code

    Declaration
    [Preserve]
    public int Code { get; set; }
    Property Value
    Type Description
    int

    Detail

    Gets or Sets Detail

    Declaration
    [Preserve]
    public string Detail { get; set; }
    Property Value
    Type Description
    string

    Errors

    Gets or Sets Errors

    Declaration
    [Preserve]
    public List<ValidationErrorBody> Errors { get; set; }
    Property Value
    Type Description
    List<ValidationErrorBody>

    Instance

    Gets or Sets Instance

    Declaration
    [Preserve]
    public string Instance { get; set; }
    Property Value
    Type Description
    string

    Status

    Gets or Sets Status

    Declaration
    [Preserve]
    public int Status { get; set; }
    Property Value
    Type Description
    int

    Title

    Gets or Sets Title

    Declaration
    [Preserve]
    public string Title { get; set; }
    Property Value
    Type Description
    string

    Type

    Gets or Sets Type

    Declaration
    [Preserve]
    public string Type { get; set; }
    Property Value
    Type Description
    string
    In This Article
    Back to top
    Copyright © 2024 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)