You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.

31 lines
638 B

using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace STranslate.Model
{
public class DeeplReq
{
[JsonProperty("text")]
public string Text { get; set; }
[JsonProperty("source_lang")]
public string SourceLang { get; set; }
[JsonProperty("target_lang")]
public string TargetLang { get; set; }
}
public class DeeplResp
{
[JsonProperty("code")]
public int Code { get; set; }
[JsonProperty("data")]
public string Data { get; set; }
}
}