Gitee.Api by maikebing

<PackageReference Include="Gitee.Api" Version="1.0.0" />

.NET API 847,872 bytes

 PullRequest

public class PullRequest
using Newtonsoft.Json; using System.CodeDom.Compiler; using System.Collections.Generic; namespace Gitee.Api { [GeneratedCode("NJsonSchema", "9.13.18.0 (Newtonsoft.Json v11.0.0.0)")] public class PullRequest { [JsonProperty("id", Required = Required.Default, NullValueHandling = NullValueHandling.Ignore)] public string Id { get; set; } [JsonProperty("url", Required = Required.Default, NullValueHandling = NullValueHandling.Ignore)] public string Url { get; set; } [JsonProperty("html_url", Required = Required.Default, NullValueHandling = NullValueHandling.Ignore)] public string Html_url { get; set; } [JsonProperty("diff_url", Required = Required.Default, NullValueHandling = NullValueHandling.Ignore)] public string Diff_url { get; set; } [JsonProperty("patch_url", Required = Required.Default, NullValueHandling = NullValueHandling.Ignore)] public string Patch_url { get; set; } [JsonProperty("issue_url", Required = Required.Default, NullValueHandling = NullValueHandling.Ignore)] public string Issue_url { get; set; } [JsonProperty("commits_url", Required = Required.Default, NullValueHandling = NullValueHandling.Ignore)] public string Commits_url { get; set; } [JsonProperty("review_comments_url", Required = Required.Default, NullValueHandling = NullValueHandling.Ignore)] public string Review_comments_url { get; set; } [JsonProperty("review_comment_url", Required = Required.Default, NullValueHandling = NullValueHandling.Ignore)] public string Review_comment_url { get; set; } [JsonProperty("comments_url", Required = Required.Default, NullValueHandling = NullValueHandling.Ignore)] public string Comments_url { get; set; } [JsonProperty("statuses_url", Required = Required.Default, NullValueHandling = NullValueHandling.Ignore)] public string Statuses_url { get; set; } [JsonProperty("number", Required = Required.Default, NullValueHandling = NullValueHandling.Ignore)] public string Number { get; set; } [JsonProperty("state", Required = Required.Default, NullValueHandling = NullValueHandling.Ignore)] public string State { get; set; } [JsonProperty("title", Required = Required.Default, NullValueHandling = NullValueHandling.Ignore)] public string Title { get; set; } [JsonProperty("body", Required = Required.Default, NullValueHandling = NullValueHandling.Ignore)] public string Body { get; set; } [JsonProperty("body_html", Required = Required.Default, NullValueHandling = NullValueHandling.Ignore)] public string Body_html { get; set; } [JsonProperty("assignees", Required = Required.Default, NullValueHandling = NullValueHandling.Ignore)] public ICollection<string> Assignees { get; set; } [JsonProperty("testers", Required = Required.Default, NullValueHandling = NullValueHandling.Ignore)] public ICollection<string> Testers { get; set; } [JsonProperty("milestone", Required = Required.Default, NullValueHandling = NullValueHandling.Ignore)] public Milestone Milestone { get; set; } [JsonProperty("labels", Required = Required.Default, NullValueHandling = NullValueHandling.Ignore)] public Label Labels { get; set; } [JsonProperty("locked", Required = Required.Default, NullValueHandling = NullValueHandling.Ignore)] public string Locked { get; set; } [JsonProperty("created_at", Required = Required.Default, NullValueHandling = NullValueHandling.Ignore)] public string Created_at { get; set; } [JsonProperty("updated_at", Required = Required.Default, NullValueHandling = NullValueHandling.Ignore)] public string Updated_at { get; set; } [JsonProperty("closed_at", Required = Required.Default, NullValueHandling = NullValueHandling.Ignore)] public string Closed_at { get; set; } [JsonProperty("merged_at", Required = Required.Default, NullValueHandling = NullValueHandling.Ignore)] public string Merged_at { get; set; } [JsonProperty("mergeable", Required = Required.Default, NullValueHandling = NullValueHandling.Ignore)] public string Mergeable { get; set; } [JsonProperty("head", Required = Required.Default, NullValueHandling = NullValueHandling.Ignore)] public string Head { get; set; } [JsonProperty("base", Required = Required.Default, NullValueHandling = NullValueHandling.Ignore)] public string Base { get; set; } [JsonProperty("_links", Required = Required.Default, NullValueHandling = NullValueHandling.Ignore)] public string _links { get; set; } [JsonProperty("user", Required = Required.Default, NullValueHandling = NullValueHandling.Ignore)] public string User { get; set; } public string ToJson() { return JsonConvert.SerializeObject(this); } public static PullRequest FromJson(string data) { return JsonConvert.DeserializeObject<PullRequest>(data); } } }