mirror of
https://github.com/ezhevita/YandexKeyExtractor
synced 2025-08-16 19:40:48 +07:00
14 lines
298 B
C#
14 lines
298 B
C#
using System.Text.Json.Serialization;
|
|
|
|
namespace YandexKeyExtractor.Models {
|
|
public class StatusResponse {
|
|
[JsonPropertyName("status")]
|
|
public string? Status { get; set; }
|
|
|
|
[JsonPropertyName("errors")]
|
|
public string[]? Errors { get; set; }
|
|
|
|
public bool IsSuccess => Status == "ok";
|
|
}
|
|
}
|