21 lines
508 B
C#
21 lines
508 B
C#
namespace Kreta.Web.Models
|
|
{
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using Newtonsoft.Json;
|
|
|
|
public class ReCaptchaModel
|
|
{
|
|
[JsonProperty("success")]
|
|
public bool Success { get; set; }
|
|
|
|
[JsonProperty("error-codes")]
|
|
public IEnumerable<string> ErrorCodes { get; set; }
|
|
|
|
[JsonProperty("challenge_ts")]
|
|
public DateTime ChallengeTs { get; set; }
|
|
|
|
[JsonProperty("hostname")]
|
|
public string Hostname { get; set; }
|
|
}
|
|
}
|