mirror of
https://github.com/bitwarden/server
synced 2026-01-06 18:43:36 +00: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