mirror of
https://github.com/bitwarden/server
synced 2025-12-12 22:33:45 +00:00
initial commit of source
This commit is contained in:
19
src/Api/Models/Response/ResponseModel.cs
Normal file
19
src/Api/Models/Response/ResponseModel.cs
Normal file
@@ -0,0 +1,19 @@
|
||||
using System;
|
||||
|
||||
namespace Bit.Api.Models
|
||||
{
|
||||
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