mirror of
https://github.com/bitwarden/server.git
synced 2025-07-02 08:32:50 -05:00
move all models into core
This commit is contained in:
19
src/Core/Models/Api/Response/ResponseModel.cs
Normal file
19
src/Core/Models/Api/Response/ResponseModel.cs
Normal file
@ -0,0 +1,19 @@
|
||||
using System;
|
||||
|
||||
namespace Bit.Core.Models.Api
|
||||
{
|
||||
public abstract class ResponseModel
|
||||
{
|
||||
public ResponseModel(string obj)
|
||||
{
|
||||
if(string.IsNullOrWhiteSpace(obj))
|
||||
{
|
||||
throw new ArgumentNullException(nameof(obj));
|
||||
}
|
||||
|
||||
Object = obj;
|
||||
}
|
||||
|
||||
public string Object { get; private set; }
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user