JOBot/JOBot.Backend/DTOs/HeadHunterHook/HeadHunterTokenResponseDto.cs

14 lines
411 B
C#

using System.Text.Json.Serialization;
namespace JOBot.Backend.DTOs.HeadHunterHook;
public record HeadHunterTokenResponseDto(
[property:JsonPropertyName("access_token")]
string AccessToken,
[property:JsonPropertyName("expires_in")]
int ExpiresIn,
[property:JsonPropertyName("refresh_token")]
string RefreshToken,
[property:JsonPropertyName("token_type")]
string TokenType
);