Added API endpoints classes for all CFCore web API endpoints.
A few have not been implemented.
This commit is contained in:
17
CFCoreAPI/Endpoints/Responses/StringResponse.cs
Normal file
17
CFCoreAPI/Endpoints/Responses/StringResponse.cs
Normal file
@@ -0,0 +1,17 @@
|
||||
using System.Text.Json.Serialization;
|
||||
|
||||
namespace CFCoreAPI.Endpoints.Files.Responses
|
||||
{
|
||||
public struct StringResponse
|
||||
{
|
||||
[JsonConstructor]
|
||||
public StringResponse(
|
||||
string data
|
||||
)
|
||||
{
|
||||
this.Data = data;
|
||||
}
|
||||
|
||||
public string Data { get; }
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user