32 lines
949 B
C#
32 lines
949 B
C#
using LCU.Library.Internal.ApiResponse.Models;
|
|
using System.Collections.Generic;
|
|
|
|
namespace LCU.Library.Internal.MemberPreferencesApiModels.Responses
|
|
{
|
|
public class RequestResponse
|
|
{
|
|
public RequestResponse()
|
|
{
|
|
MessageStack = new List<string>();
|
|
IsSuccessful = true;
|
|
ReturnResponse = null;
|
|
}
|
|
public RequestResponse(ReturnResponse response)
|
|
{
|
|
MessageStack = new List<string>();
|
|
IsSuccessful = true;
|
|
ReturnResponse = response;
|
|
}
|
|
public RequestResponse(ReturnResponse response, bool success, List<string> messages)
|
|
{
|
|
MessageStack = messages;
|
|
IsSuccessful = success;
|
|
ReturnResponse = response;
|
|
}
|
|
|
|
public List<string> MessageStack { get; set; }
|
|
public bool IsSuccessful { get; set; }
|
|
public ReturnResponse ReturnResponse { get; set; }
|
|
}
|
|
}
|