mirror of
https://github.com/Tribufu/TribufuDotNet
synced 2026-08-09 12:51:06 +00:00
Add safecheck client
This commit is contained in:
parent
6ebfde013a
commit
117d8b5ab6
9 changed files with 170 additions and 1 deletions
19
src/Tribufu.SafeCheck/SafeCheckResponse.cs
Normal file
19
src/Tribufu.SafeCheck/SafeCheckResponse.cs
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
// Copyright (c) Tribufu. All Rights Reserved.
|
||||
// SPDX-License-Identifier: MIT
|
||||
|
||||
using Newtonsoft.Json;
|
||||
|
||||
namespace Tribufu.SafeCheck
|
||||
{
|
||||
public class SafecheckResponse
|
||||
{
|
||||
[JsonProperty("safe")]
|
||||
public bool Safe { get; set; }
|
||||
|
||||
[JsonProperty("reason")]
|
||||
public string? Reason { get; set; }
|
||||
|
||||
[JsonProperty("detections")]
|
||||
public SafeCheckDetections? Detections { get; set; }
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue