/// <summary> /// Initializes a new instance of the <see cref="Core.Connections.LoginResponse"/> class. /// </summary> public LoginResponse() { Status = ReponseStatus.ERROR; SessionID = Guid.Empty; AccountId = 0; ServerTime = DateTime.Now; }
/// <summary> /// Initializes a new instance of the <see cref="Core.Connections.Response"/> class. /// </summary> public Response() { Status = ReponseStatus.INTERNAL_ERROR; Entities = new LinkedList<LinkedList<Core.Models.Entity>>(); Actions = new LinkedList<LinkedList<Core.Models.Action>>(); }
public APIResponse(ReponseStatus status, object data) { _response = status; _data = data; }