MCServe Classes :: JsonStandardResult

The universal output for errors and other small results

using api.mcserve.org.ApiObjects;

namespace api.mcserve.org.JsonObjects
{
    public class JsonStandardResult
    {
        public bool Result { get; set; }
        public string Message { get; set; }
        public ApiCodes Code { get; set; }
    }
}

Object Type Description
Result Boolean Contains the result of the api-query
Message String Contains a message. For example, even error messages, etc. (ApiObjects.ApiMessages)
Code ApiObjects.ApiCodes Contains the result-code

Last edited Mar 8, 2013 at 10:40 PM by Xe77a, version 5

Comments

No comments yet.