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