mirror of
https://github.com/bitwarden/server.git
synced 2025-04-25 06:42:22 -05:00
20 lines
381 B
C#
20 lines
381 B
C#
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; }
|
|
}
|
|
}
|