JOBot/JOBot.Backend/DTOs/HeadHunterApi/ListOfResumeResponseDto.cs

21 lines
550 B
C#

using System.Text.Json.Serialization;
namespace JOBot.Backend.DTOs.HeadHunterApi;
public class ListOfResumeResponseDto
{
[JsonPropertyName("found")]
public bool Found { get; set; }
[JsonPropertyName("items")]
public List<Resume> Items { get; set; } = [];
}
public class Resume
{
[JsonPropertyName("can_publish_or_update")]
public bool CanPublishOrUpdate { get; set; }
[JsonPropertyName("title")]
public string Title { get; set; } = null!;
[JsonPropertyName("url")]
public string Url { get; set; } = null!;
}