mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-10-18 01:37:59 +00:00
Added an information view to all data sources (#273)
This commit is contained in:
1 parent
9d71978feb
commit
c836bd7f33
61 files changed
+1596
-1372
No files matched your search
@@ -0,0 +1,19 @@
|
||||
namespace AIStudio.Tools.ERIClient;
|
||||
|
||||
public sealed class APIResponse<T>
|
||||
{
|
||||
/// <summary>
|
||||
/// Was the API call successful?
|
||||
/// </summary>
|
||||
public bool Successful { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// When the API call was not successful, this will contain the error message.
|
||||
/// </summary>
|
||||
public string Message { get; set; } = string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// The data returned by the API call.
|
||||
/// </summary>
|
||||
public T? Data { get; set; }
|
||||
}
|
||||
Reference in new issue
Block a user