Created
July 29, 2021 19:04
-
-
Save JamieMagee/07a53f24229824ee02444b65e44f6934 to your computer and use it in GitHub Desktop.
NJsonSchema
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//---------------------- | |
// <auto-generated> | |
// Generated using the NJsonSchema v10.4.6.0 (Newtonsoft.Json v9.0.0.0) (http://NJsonSchema.org) | |
// </auto-generated> | |
//---------------------- | |
namespace Octokit.Webhooks | |
{ | |
#pragma warning disable // Disable all warnings | |
[System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "10.4.6.0 (Newtonsoft.Json v9.0.0.0)")] | |
public partial class Webhooks2 | |
{ | |
[Newtonsoft.Json.JsonProperty("action", Required = Newtonsoft.Json.Required.Always)] | |
[System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] | |
[Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] | |
public Webhooks2Action Action { get; set; } | |
/// <summary>The [check_run](https://docs.github.com/en/rest/reference/checks#get-a-check-run).</summary> | |
[Newtonsoft.Json.JsonProperty("check_run", Required = Newtonsoft.Json.Required.Always)] | |
[System.ComponentModel.DataAnnotations.Required] | |
public Check_run Check_run { get; set; } = new Check_run(); | |
/// <summary>The action requested by the user.</summary> | |
[Newtonsoft.Json.JsonProperty("requested_action", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] | |
public Requested_action Requested_action { get; set; } | |
[Newtonsoft.Json.JsonProperty("repository", Required = Newtonsoft.Json.Required.Always)] | |
[System.ComponentModel.DataAnnotations.Required] | |
public Repository Repository { get; set; } = new Repository(); | |
[Newtonsoft.Json.JsonProperty("sender", Required = Newtonsoft.Json.Required.Always)] | |
[System.ComponentModel.DataAnnotations.Required] | |
public Sender Sender { get; set; } = new Sender(); | |
[Newtonsoft.Json.JsonProperty("installation", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] | |
public Installation Installation { get; set; } | |
[Newtonsoft.Json.JsonProperty("organization", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] | |
public Organization Organization { get; set; } | |
} | |
[System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "10.4.6.0 (Newtonsoft.Json v9.0.0.0)")] | |
public enum Webhooks2Action | |
{ | |
[System.Runtime.Serialization.EnumMember(Value = @"completed")] | |
Completed = 0, | |
} | |
[System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "10.4.6.0 (Newtonsoft.Json v9.0.0.0)")] | |
public partial class Check_run | |
{ | |
/// <summary>The id of the check.</summary> | |
[Newtonsoft.Json.JsonProperty("id", Required = Newtonsoft.Json.Required.Always)] | |
public int Id { get; set; } | |
[Newtonsoft.Json.JsonProperty("node_id", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] | |
public string Node_id { get; set; } | |
/// <summary>The SHA of the commit that is being checked.</summary> | |
[Newtonsoft.Json.JsonProperty("head_sha", Required = Newtonsoft.Json.Required.Always)] | |
[System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] | |
public string Head_sha { get; set; } | |
[Newtonsoft.Json.JsonProperty("external_id", Required = Newtonsoft.Json.Required.Always)] | |
[System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] | |
public string External_id { get; set; } | |
[Newtonsoft.Json.JsonProperty("url", Required = Newtonsoft.Json.Required.Always)] | |
[System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] | |
public System.Uri Url { get; set; } | |
[Newtonsoft.Json.JsonProperty("html_url", Required = Newtonsoft.Json.Required.Always)] | |
[System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] | |
public System.Uri Html_url { get; set; } | |
[Newtonsoft.Json.JsonProperty("details_url", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] | |
public System.Uri Details_url { get; set; } | |
/// <summary>The current status of the check run. Can be `queued`, `in_progress`, or `completed`.</summary> | |
[Newtonsoft.Json.JsonProperty("status", Required = Newtonsoft.Json.Required.Always)] | |
[System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] | |
[Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] | |
public Check_runStatus Status { get; set; } | |
/// <summary>The result of the completed check run. Can be one of `success`, `failure`, `neutral`, `cancelled`, `timed_out`, `action_required` or `stale`. This value will be `null` until the check run has completed.</summary> | |
[Newtonsoft.Json.JsonProperty("conclusion", Required = Newtonsoft.Json.Required.AllowNull)] | |
[Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] | |
public Check_runConclusion? Conclusion { get; set; } | |
/// <summary>The time that the check run began. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`.</summary> | |
[Newtonsoft.Json.JsonProperty("started_at", Required = Newtonsoft.Json.Required.Always)] | |
[System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] | |
public string Started_at { get; set; } | |
/// <summary>The time the check completed. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`.</summary> | |
[Newtonsoft.Json.JsonProperty("completed_at", Required = Newtonsoft.Json.Required.Always)] | |
[System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] | |
public string Completed_at { get; set; } | |
[Newtonsoft.Json.JsonProperty("output", Required = Newtonsoft.Json.Required.Always)] | |
[System.ComponentModel.DataAnnotations.Required] | |
public Output Output { get; set; } = new Output(); | |
/// <summary>The name of the check run.</summary> | |
[Newtonsoft.Json.JsonProperty("name", Required = Newtonsoft.Json.Required.Always)] | |
[System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] | |
public string Name { get; set; } | |
[Newtonsoft.Json.JsonProperty("check_suite", Required = Newtonsoft.Json.Required.Always)] | |
[System.ComponentModel.DataAnnotations.Required] | |
public Check_suite Check_suite { get; set; } = new Check_suite(); | |
[Newtonsoft.Json.JsonProperty("app", Required = Newtonsoft.Json.Required.Always)] | |
[System.ComponentModel.DataAnnotations.Required] | |
public App App { get; set; } = new App(); | |
[Newtonsoft.Json.JsonProperty("pull_requests", Required = Newtonsoft.Json.Required.Always)] | |
[System.ComponentModel.DataAnnotations.Required] | |
public System.Collections.Generic.ICollection<Pull_requests> Pull_requests { get; set; } = new System.Collections.ObjectModel.Collection<Pull_requests>(); | |
} | |
[System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "10.4.6.0 (Newtonsoft.Json v9.0.0.0)")] | |
public partial class Requested_action | |
{ | |
/// <summary>The integrator reference of the action requested by the user.</summary> | |
[Newtonsoft.Json.JsonProperty("identifier", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] | |
public string Identifier { get; set; } | |
} | |
/// <summary>A git repository</summary> | |
[System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "10.4.6.0 (Newtonsoft.Json v9.0.0.0)")] | |
public partial class Repository | |
{ | |
/// <summary>Unique identifier of the repository</summary> | |
[Newtonsoft.Json.JsonProperty("id", Required = Newtonsoft.Json.Required.Always)] | |
public int Id { get; set; } | |
[Newtonsoft.Json.JsonProperty("node_id", Required = Newtonsoft.Json.Required.Always)] | |
[System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] | |
public string Node_id { get; set; } | |
/// <summary>The name of the repository.</summary> | |
[Newtonsoft.Json.JsonProperty("name", Required = Newtonsoft.Json.Required.Always)] | |
[System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] | |
public string Name { get; set; } | |
[Newtonsoft.Json.JsonProperty("full_name", Required = Newtonsoft.Json.Required.Always)] | |
[System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] | |
public string Full_name { get; set; } | |
/// <summary>Whether the repository is private or public.</summary> | |
[Newtonsoft.Json.JsonProperty("private", Required = Newtonsoft.Json.Required.Always)] | |
public bool Private { get; set; } | |
[Newtonsoft.Json.JsonProperty("owner", Required = Newtonsoft.Json.Required.Always)] | |
[System.ComponentModel.DataAnnotations.Required] | |
public Sender Owner { get; set; } = new Sender(); | |
[Newtonsoft.Json.JsonProperty("html_url", Required = Newtonsoft.Json.Required.Always)] | |
[System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] | |
public System.Uri Html_url { get; set; } | |
[Newtonsoft.Json.JsonProperty("description", Required = Newtonsoft.Json.Required.AllowNull)] | |
public string Description { get; set; } | |
[Newtonsoft.Json.JsonProperty("fork", Required = Newtonsoft.Json.Required.Always)] | |
public bool Fork { get; set; } | |
[Newtonsoft.Json.JsonProperty("url", Required = Newtonsoft.Json.Required.Always)] | |
[System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] | |
public System.Uri Url { get; set; } | |
[Newtonsoft.Json.JsonProperty("forks_url", Required = Newtonsoft.Json.Required.Always)] | |
[System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] | |
public System.Uri Forks_url { get; set; } | |
[Newtonsoft.Json.JsonProperty("keys_url", Required = Newtonsoft.Json.Required.Always)] | |
[System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] | |
public string Keys_url { get; set; } | |
[Newtonsoft.Json.JsonProperty("collaborators_url", Required = Newtonsoft.Json.Required.Always)] | |
[System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] | |
public string Collaborators_url { get; set; } | |
[Newtonsoft.Json.JsonProperty("teams_url", Required = Newtonsoft.Json.Required.Always)] | |
[System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] | |
public System.Uri Teams_url { get; set; } | |
[Newtonsoft.Json.JsonProperty("hooks_url", Required = Newtonsoft.Json.Required.Always)] | |
[System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] | |
public System.Uri Hooks_url { get; set; } | |
[Newtonsoft.Json.JsonProperty("issue_events_url", Required = Newtonsoft.Json.Required.Always)] | |
[System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] | |
public string Issue_events_url { get; set; } | |
[Newtonsoft.Json.JsonProperty("events_url", Required = Newtonsoft.Json.Required.Always)] | |
[System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] | |
public System.Uri Events_url { get; set; } | |
[Newtonsoft.Json.JsonProperty("assignees_url", Required = Newtonsoft.Json.Required.Always)] | |
[System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] | |
public string Assignees_url { get; set; } | |
[Newtonsoft.Json.JsonProperty("branches_url", Required = Newtonsoft.Json.Required.Always)] | |
[System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] | |
public string Branches_url { get; set; } | |
[Newtonsoft.Json.JsonProperty("tags_url", Required = Newtonsoft.Json.Required.Always)] | |
[System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] | |
public System.Uri Tags_url { get; set; } | |
[Newtonsoft.Json.JsonProperty("blobs_url", Required = Newtonsoft.Json.Required.Always)] | |
[System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] | |
public string Blobs_url { get; set; } | |
[Newtonsoft.Json.JsonProperty("git_tags_url", Required = Newtonsoft.Json.Required.Always)] | |
[System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] | |
public string Git_tags_url { get; set; } | |
[Newtonsoft.Json.JsonProperty("git_refs_url", Required = Newtonsoft.Json.Required.Always)] | |
[System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] | |
public string Git_refs_url { get; set; } | |
[Newtonsoft.Json.JsonProperty("trees_url", Required = Newtonsoft.Json.Required.Always)] | |
[System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] | |
public string Trees_url { get; set; } | |
[Newtonsoft.Json.JsonProperty("statuses_url", Required = Newtonsoft.Json.Required.Always)] | |
[System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] | |
public string Statuses_url { get; set; } | |
[Newtonsoft.Json.JsonProperty("languages_url", Required = Newtonsoft.Json.Required.Always)] | |
[System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] | |
public System.Uri Languages_url { get; set; } | |
[Newtonsoft.Json.JsonProperty("stargazers_url", Required = Newtonsoft.Json.Required.Always)] | |
[System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] | |
public System.Uri Stargazers_url { get; set; } | |
[Newtonsoft.Json.JsonProperty("contributors_url", Required = Newtonsoft.Json.Required.Always)] | |
[System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] | |
public System.Uri Contributors_url { get; set; } | |
[Newtonsoft.Json.JsonProperty("subscribers_url", Required = Newtonsoft.Json.Required.Always)] | |
[System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] | |
public System.Uri Subscribers_url { get; set; } | |
[Newtonsoft.Json.JsonProperty("subscription_url", Required = Newtonsoft.Json.Required.Always)] | |
[System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] | |
public System.Uri Subscription_url { get; set; } | |
[Newtonsoft.Json.JsonProperty("commits_url", Required = Newtonsoft.Json.Required.Always)] | |
[System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] | |
public string Commits_url { get; set; } | |
[Newtonsoft.Json.JsonProperty("git_commits_url", Required = Newtonsoft.Json.Required.Always)] | |
[System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] | |
public string Git_commits_url { get; set; } | |
[Newtonsoft.Json.JsonProperty("comments_url", Required = Newtonsoft.Json.Required.Always)] | |
[System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] | |
public string Comments_url { get; set; } | |
[Newtonsoft.Json.JsonProperty("issue_comment_url", Required = Newtonsoft.Json.Required.Always)] | |
[System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] | |
public string Issue_comment_url { get; set; } | |
[Newtonsoft.Json.JsonProperty("contents_url", Required = Newtonsoft.Json.Required.Always)] | |
[System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] | |
public string Contents_url { get; set; } | |
[Newtonsoft.Json.JsonProperty("compare_url", Required = Newtonsoft.Json.Required.Always)] | |
[System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] | |
public string Compare_url { get; set; } | |
[Newtonsoft.Json.JsonProperty("merges_url", Required = Newtonsoft.Json.Required.Always)] | |
[System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] | |
public System.Uri Merges_url { get; set; } | |
[Newtonsoft.Json.JsonProperty("archive_url", Required = Newtonsoft.Json.Required.Always)] | |
[System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] | |
public string Archive_url { get; set; } | |
[Newtonsoft.Json.JsonProperty("downloads_url", Required = Newtonsoft.Json.Required.Always)] | |
[System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] | |
public System.Uri Downloads_url { get; set; } | |
[Newtonsoft.Json.JsonProperty("issues_url", Required = Newtonsoft.Json.Required.Always)] | |
[System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] | |
public string Issues_url { get; set; } | |
[Newtonsoft.Json.JsonProperty("pulls_url", Required = Newtonsoft.Json.Required.Always)] | |
[System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] | |
public string Pulls_url { get; set; } | |
[Newtonsoft.Json.JsonProperty("milestones_url", Required = Newtonsoft.Json.Required.Always)] | |
[System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] | |
public string Milestones_url { get; set; } | |
[Newtonsoft.Json.JsonProperty("notifications_url", Required = Newtonsoft.Json.Required.Always)] | |
[System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] | |
public string Notifications_url { get; set; } | |
[Newtonsoft.Json.JsonProperty("labels_url", Required = Newtonsoft.Json.Required.Always)] | |
[System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] | |
public string Labels_url { get; set; } | |
[Newtonsoft.Json.JsonProperty("releases_url", Required = Newtonsoft.Json.Required.Always)] | |
[System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] | |
public string Releases_url { get; set; } | |
[Newtonsoft.Json.JsonProperty("deployments_url", Required = Newtonsoft.Json.Required.Always)] | |
[System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] | |
public System.Uri Deployments_url { get; set; } | |
[Newtonsoft.Json.JsonProperty("created_at", Required = Newtonsoft.Json.Required.Always)] | |
public int Created_at { get; set; } | |
[Newtonsoft.Json.JsonProperty("updated_at", Required = Newtonsoft.Json.Required.Always)] | |
[System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] | |
public System.DateTimeOffset Updated_at { get; set; } | |
[Newtonsoft.Json.JsonProperty("pushed_at", Required = Newtonsoft.Json.Required.AllowNull)] | |
public int? Pushed_at { get; set; } | |
[Newtonsoft.Json.JsonProperty("git_url", Required = Newtonsoft.Json.Required.Always)] | |
[System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] | |
public System.Uri Git_url { get; set; } | |
[Newtonsoft.Json.JsonProperty("ssh_url", Required = Newtonsoft.Json.Required.Always)] | |
[System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] | |
public string Ssh_url { get; set; } | |
[Newtonsoft.Json.JsonProperty("clone_url", Required = Newtonsoft.Json.Required.Always)] | |
[System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] | |
public System.Uri Clone_url { get; set; } | |
[Newtonsoft.Json.JsonProperty("svn_url", Required = Newtonsoft.Json.Required.Always)] | |
[System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] | |
public System.Uri Svn_url { get; set; } | |
[Newtonsoft.Json.JsonProperty("homepage", Required = Newtonsoft.Json.Required.AllowNull)] | |
public string Homepage { get; set; } | |
[Newtonsoft.Json.JsonProperty("size", Required = Newtonsoft.Json.Required.Always)] | |
public int Size { get; set; } | |
[Newtonsoft.Json.JsonProperty("stargazers_count", Required = Newtonsoft.Json.Required.Always)] | |
public int Stargazers_count { get; set; } | |
[Newtonsoft.Json.JsonProperty("watchers_count", Required = Newtonsoft.Json.Required.Always)] | |
public int Watchers_count { get; set; } | |
[Newtonsoft.Json.JsonProperty("language", Required = Newtonsoft.Json.Required.AllowNull)] | |
public string Language { get; set; } | |
/// <summary>Whether issues are enabled.</summary> | |
[Newtonsoft.Json.JsonProperty("has_issues", Required = Newtonsoft.Json.Required.Always)] | |
public bool Has_issues { get; set; } = true; | |
/// <summary>Whether projects are enabled.</summary> | |
[Newtonsoft.Json.JsonProperty("has_projects", Required = Newtonsoft.Json.Required.Always)] | |
public bool Has_projects { get; set; } = true; | |
/// <summary>Whether downloads are enabled.</summary> | |
[Newtonsoft.Json.JsonProperty("has_downloads", Required = Newtonsoft.Json.Required.Always)] | |
public bool Has_downloads { get; set; } = true; | |
/// <summary>Whether the wiki is enabled.</summary> | |
[Newtonsoft.Json.JsonProperty("has_wiki", Required = Newtonsoft.Json.Required.Always)] | |
public bool Has_wiki { get; set; } = true; | |
[Newtonsoft.Json.JsonProperty("has_pages", Required = Newtonsoft.Json.Required.Always)] | |
public bool Has_pages { get; set; } | |
[Newtonsoft.Json.JsonProperty("forks_count", Required = Newtonsoft.Json.Required.Always)] | |
public int Forks_count { get; set; } | |
[Newtonsoft.Json.JsonProperty("mirror_url", Required = Newtonsoft.Json.Required.AllowNull)] | |
public System.Uri Mirror_url { get; set; } | |
/// <summary>Whether the repository is archived.</summary> | |
[Newtonsoft.Json.JsonProperty("archived", Required = Newtonsoft.Json.Required.Always)] | |
public bool Archived { get; set; } = false; | |
/// <summary>Returns whether or not this repository is disabled.</summary> | |
[Newtonsoft.Json.JsonProperty("disabled", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] | |
public bool Disabled { get; set; } | |
[Newtonsoft.Json.JsonProperty("open_issues_count", Required = Newtonsoft.Json.Required.Always)] | |
public int Open_issues_count { get; set; } | |
[Newtonsoft.Json.JsonProperty("license", Required = Newtonsoft.Json.Required.AllowNull)] | |
public License License { get; set; } | |
[Newtonsoft.Json.JsonProperty("forks", Required = Newtonsoft.Json.Required.Always)] | |
public int Forks { get; set; } | |
[Newtonsoft.Json.JsonProperty("open_issues", Required = Newtonsoft.Json.Required.Always)] | |
public int Open_issues { get; set; } | |
[Newtonsoft.Json.JsonProperty("watchers", Required = Newtonsoft.Json.Required.Always)] | |
public int Watchers { get; set; } | |
[Newtonsoft.Json.JsonProperty("stargazers", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] | |
public int Stargazers { get; set; } | |
/// <summary>The default branch of the repository.</summary> | |
[Newtonsoft.Json.JsonProperty("default_branch", Required = Newtonsoft.Json.Required.Always)] | |
[System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] | |
public string Default_branch { get; set; } | |
/// <summary>Whether to allow squash merges for pull requests.</summary> | |
[Newtonsoft.Json.JsonProperty("allow_squash_merge", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] | |
public bool Allow_squash_merge { get; set; } = true; | |
/// <summary>Whether to allow merge commits for pull requests.</summary> | |
[Newtonsoft.Json.JsonProperty("allow_merge_commit", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] | |
public bool Allow_merge_commit { get; set; } = true; | |
/// <summary>Whether to allow rebase merges for pull requests.</summary> | |
[Newtonsoft.Json.JsonProperty("allow_rebase_merge", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] | |
public bool Allow_rebase_merge { get; set; } = true; | |
/// <summary>Whether to delete head branches when pull requests are merged</summary> | |
[Newtonsoft.Json.JsonProperty("delete_branch_on_merge", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] | |
public bool Delete_branch_on_merge { get; set; } = false; | |
[Newtonsoft.Json.JsonProperty("master_branch", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] | |
public string Master_branch { get; set; } | |
[Newtonsoft.Json.JsonProperty("permissions", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] | |
public Permissions Permissions { get; set; } | |
[Newtonsoft.Json.JsonProperty("public", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] | |
public bool Public { get; set; } | |
[Newtonsoft.Json.JsonProperty("organization", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] | |
public string Organization { get; set; } | |
} | |
[System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "10.4.6.0 (Newtonsoft.Json v9.0.0.0)")] | |
public partial class Sender | |
{ | |
[Newtonsoft.Json.JsonProperty("login", Required = Newtonsoft.Json.Required.Always)] | |
[System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] | |
public string Login { get; set; } | |
[Newtonsoft.Json.JsonProperty("id", Required = Newtonsoft.Json.Required.Always)] | |
public int Id { get; set; } | |
[Newtonsoft.Json.JsonProperty("node_id", Required = Newtonsoft.Json.Required.Always)] | |
[System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] | |
public string Node_id { get; set; } | |
[Newtonsoft.Json.JsonProperty("name", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] | |
public string Name { get; set; } | |
[Newtonsoft.Json.JsonProperty("email", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] | |
public string Email { get; set; } | |
[Newtonsoft.Json.JsonProperty("avatar_url", Required = Newtonsoft.Json.Required.Always)] | |
[System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] | |
public System.Uri Avatar_url { get; set; } | |
[Newtonsoft.Json.JsonProperty("gravatar_id", Required = Newtonsoft.Json.Required.Always)] | |
[System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] | |
public string Gravatar_id { get; set; } | |
[Newtonsoft.Json.JsonProperty("url", Required = Newtonsoft.Json.Required.Always)] | |
[System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] | |
public System.Uri Url { get; set; } | |
[Newtonsoft.Json.JsonProperty("html_url", Required = Newtonsoft.Json.Required.Always)] | |
[System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] | |
public System.Uri Html_url { get; set; } | |
[Newtonsoft.Json.JsonProperty("followers_url", Required = Newtonsoft.Json.Required.Always)] | |
[System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] | |
public System.Uri Followers_url { get; set; } | |
[Newtonsoft.Json.JsonProperty("following_url", Required = Newtonsoft.Json.Required.Always)] | |
[System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] | |
public string Following_url { get; set; } | |
[Newtonsoft.Json.JsonProperty("gists_url", Required = Newtonsoft.Json.Required.Always)] | |
[System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] | |
public string Gists_url { get; set; } | |
[Newtonsoft.Json.JsonProperty("starred_url", Required = Newtonsoft.Json.Required.Always)] | |
[System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] | |
public string Starred_url { get; set; } | |
[Newtonsoft.Json.JsonProperty("subscriptions_url", Required = Newtonsoft.Json.Required.Always)] | |
[System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] | |
public System.Uri Subscriptions_url { get; set; } | |
[Newtonsoft.Json.JsonProperty("organizations_url", Required = Newtonsoft.Json.Required.Always)] | |
[System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] | |
public System.Uri Organizations_url { get; set; } | |
[Newtonsoft.Json.JsonProperty("repos_url", Required = Newtonsoft.Json.Required.Always)] | |
[System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] | |
public System.Uri Repos_url { get; set; } | |
[Newtonsoft.Json.JsonProperty("events_url", Required = Newtonsoft.Json.Required.Always)] | |
[System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] | |
public string Events_url { get; set; } | |
[Newtonsoft.Json.JsonProperty("received_events_url", Required = Newtonsoft.Json.Required.Always)] | |
[System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] | |
public System.Uri Received_events_url { get; set; } | |
[Newtonsoft.Json.JsonProperty("type", Required = Newtonsoft.Json.Required.Always)] | |
[System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] | |
[Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] | |
public SenderType Type { get; set; } | |
[Newtonsoft.Json.JsonProperty("site_admin", Required = Newtonsoft.Json.Required.Always)] | |
public bool Site_admin { get; set; } | |
} | |
/// <summary>Installation</summary> | |
[System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "10.4.6.0 (Newtonsoft.Json v9.0.0.0)")] | |
public partial class Installation | |
{ | |
/// <summary>The ID of the installation.</summary> | |
[Newtonsoft.Json.JsonProperty("id", Required = Newtonsoft.Json.Required.Always)] | |
public int Id { get; set; } | |
[Newtonsoft.Json.JsonProperty("node_id", Required = Newtonsoft.Json.Required.Always)] | |
[System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] | |
public string Node_id { get; set; } | |
} | |
[System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "10.4.6.0 (Newtonsoft.Json v9.0.0.0)")] | |
public partial class Organization | |
{ | |
[Newtonsoft.Json.JsonProperty("login", Required = Newtonsoft.Json.Required.Always)] | |
[System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] | |
public string Login { get; set; } | |
[Newtonsoft.Json.JsonProperty("id", Required = Newtonsoft.Json.Required.Always)] | |
public int Id { get; set; } | |
[Newtonsoft.Json.JsonProperty("node_id", Required = Newtonsoft.Json.Required.Always)] | |
[System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] | |
public string Node_id { get; set; } | |
[Newtonsoft.Json.JsonProperty("url", Required = Newtonsoft.Json.Required.Always)] | |
[System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] | |
public System.Uri Url { get; set; } | |
[Newtonsoft.Json.JsonProperty("html_url", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] | |
public System.Uri Html_url { get; set; } | |
[Newtonsoft.Json.JsonProperty("repos_url", Required = Newtonsoft.Json.Required.Always)] | |
[System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] | |
public System.Uri Repos_url { get; set; } | |
[Newtonsoft.Json.JsonProperty("events_url", Required = Newtonsoft.Json.Required.Always)] | |
[System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] | |
public System.Uri Events_url { get; set; } | |
[Newtonsoft.Json.JsonProperty("hooks_url", Required = Newtonsoft.Json.Required.Always)] | |
[System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] | |
public System.Uri Hooks_url { get; set; } | |
[Newtonsoft.Json.JsonProperty("issues_url", Required = Newtonsoft.Json.Required.Always)] | |
[System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] | |
public System.Uri Issues_url { get; set; } | |
[Newtonsoft.Json.JsonProperty("members_url", Required = Newtonsoft.Json.Required.Always)] | |
[System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] | |
public string Members_url { get; set; } | |
[Newtonsoft.Json.JsonProperty("public_members_url", Required = Newtonsoft.Json.Required.Always)] | |
[System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] | |
public string Public_members_url { get; set; } | |
[Newtonsoft.Json.JsonProperty("avatar_url", Required = Newtonsoft.Json.Required.Always)] | |
[System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] | |
public System.Uri Avatar_url { get; set; } | |
[Newtonsoft.Json.JsonProperty("description", Required = Newtonsoft.Json.Required.AllowNull)] | |
public string Description { get; set; } | |
} | |
[System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "10.4.6.0 (Newtonsoft.Json v9.0.0.0)")] | |
public enum Check_runStatus | |
{ | |
[System.Runtime.Serialization.EnumMember(Value = @"completed")] | |
Completed = 0, | |
} | |
[System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "10.4.6.0 (Newtonsoft.Json v9.0.0.0)")] | |
public enum Check_runConclusion | |
{ | |
[System.Runtime.Serialization.EnumMember(Value = @"success")] | |
Success = 0, | |
[System.Runtime.Serialization.EnumMember(Value = @"failure")] | |
Failure = 1, | |
[System.Runtime.Serialization.EnumMember(Value = @"neutral")] | |
Neutral = 2, | |
[System.Runtime.Serialization.EnumMember(Value = @"cancelled")] | |
Cancelled = 3, | |
[System.Runtime.Serialization.EnumMember(Value = @"timed_out")] | |
Timed_out = 4, | |
[System.Runtime.Serialization.EnumMember(Value = @"action_required")] | |
Action_required = 5, | |
[System.Runtime.Serialization.EnumMember(Value = @"stale")] | |
Stale = 6, | |
[System.Runtime.Serialization.EnumMember(Value = @"skipped")] | |
Skipped = 7, | |
} | |
[System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "10.4.6.0 (Newtonsoft.Json v9.0.0.0)")] | |
public partial class Output | |
{ | |
[Newtonsoft.Json.JsonProperty("title", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] | |
public string Title { get; set; } | |
[Newtonsoft.Json.JsonProperty("summary", Required = Newtonsoft.Json.Required.AllowNull)] | |
public string Summary { get; set; } | |
[Newtonsoft.Json.JsonProperty("text", Required = Newtonsoft.Json.Required.AllowNull)] | |
public string Text { get; set; } | |
[Newtonsoft.Json.JsonProperty("annotations_count", Required = Newtonsoft.Json.Required.Always)] | |
public int Annotations_count { get; set; } | |
[Newtonsoft.Json.JsonProperty("annotations_url", Required = Newtonsoft.Json.Required.Always)] | |
[System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] | |
public System.Uri Annotations_url { get; set; } | |
} | |
[System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "10.4.6.0 (Newtonsoft.Json v9.0.0.0)")] | |
public partial class Check_suite | |
{ | |
/// <summary>The id of the check suite that this check run is part of.</summary> | |
[Newtonsoft.Json.JsonProperty("id", Required = Newtonsoft.Json.Required.Always)] | |
public int Id { get; set; } | |
[Newtonsoft.Json.JsonProperty("node_id", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] | |
public string Node_id { get; set; } | |
[Newtonsoft.Json.JsonProperty("head_branch", Required = Newtonsoft.Json.Required.AllowNull)] | |
public string Head_branch { get; set; } | |
/// <summary>The SHA of the head commit that is being checked.</summary> | |
[Newtonsoft.Json.JsonProperty("head_sha", Required = Newtonsoft.Json.Required.Always)] | |
[System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] | |
public string Head_sha { get; set; } | |
[Newtonsoft.Json.JsonProperty("status", Required = Newtonsoft.Json.Required.Always)] | |
[System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] | |
[Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] | |
public Check_suiteStatus Status { get; set; } | |
[Newtonsoft.Json.JsonProperty("conclusion", Required = Newtonsoft.Json.Required.AllowNull)] | |
[Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] | |
public Check_suiteConclusion? Conclusion { get; set; } | |
[Newtonsoft.Json.JsonProperty("url", Required = Newtonsoft.Json.Required.Always)] | |
[System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] | |
public System.Uri Url { get; set; } | |
[Newtonsoft.Json.JsonProperty("before", Required = Newtonsoft.Json.Required.AllowNull)] | |
public string Before { get; set; } | |
[Newtonsoft.Json.JsonProperty("after", Required = Newtonsoft.Json.Required.AllowNull)] | |
public string After { get; set; } | |
/// <summary>An array of pull requests that match this check suite. A pull request matches a check suite if they have the same `head_sha` and `head_branch`. When the check suite's `head_branch` is in a forked repository it will be `null` and the `pull_requests` array will be empty.</summary> | |
[Newtonsoft.Json.JsonProperty("pull_requests", Required = Newtonsoft.Json.Required.Always)] | |
[System.ComponentModel.DataAnnotations.Required] | |
public System.Collections.Generic.ICollection<Pull_requests> Pull_requests { get; set; } = new System.Collections.ObjectModel.Collection<Pull_requests>(); | |
[Newtonsoft.Json.JsonProperty("deployment", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] | |
public Deployment Deployment { get; set; } | |
[Newtonsoft.Json.JsonProperty("app", Required = Newtonsoft.Json.Required.Always)] | |
[System.ComponentModel.DataAnnotations.Required] | |
public App App { get; set; } = new App(); | |
[Newtonsoft.Json.JsonProperty("created_at", Required = Newtonsoft.Json.Required.Always)] | |
[System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] | |
public System.DateTimeOffset Created_at { get; set; } | |
[Newtonsoft.Json.JsonProperty("updated_at", Required = Newtonsoft.Json.Required.Always)] | |
[System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] | |
public System.DateTimeOffset Updated_at { get; set; } | |
} | |
/// <summary>GitHub apps are a new way to extend GitHub. They can be installed directly on organizations and user accounts and granted access to specific repositories. They come with granular permissions and built-in webhooks. GitHub apps are first class actors within GitHub.</summary> | |
[System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "10.4.6.0 (Newtonsoft.Json v9.0.0.0)")] | |
public partial class App | |
{ | |
/// <summary>Unique identifier of the GitHub app</summary> | |
[Newtonsoft.Json.JsonProperty("id", Required = Newtonsoft.Json.Required.Always)] | |
public int Id { get; set; } | |
/// <summary>The slug name of the GitHub app</summary> | |
[Newtonsoft.Json.JsonProperty("slug", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] | |
public string Slug { get; set; } | |
[Newtonsoft.Json.JsonProperty("node_id", Required = Newtonsoft.Json.Required.Always)] | |
[System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] | |
public string Node_id { get; set; } | |
[Newtonsoft.Json.JsonProperty("owner", Required = Newtonsoft.Json.Required.Always)] | |
[System.ComponentModel.DataAnnotations.Required] | |
public Sender Owner { get; set; } = new Sender(); | |
/// <summary>The name of the GitHub app</summary> | |
[Newtonsoft.Json.JsonProperty("name", Required = Newtonsoft.Json.Required.Always)] | |
[System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] | |
public string Name { get; set; } | |
[Newtonsoft.Json.JsonProperty("description", Required = Newtonsoft.Json.Required.AllowNull)] | |
public string Description { get; set; } | |
[Newtonsoft.Json.JsonProperty("external_url", Required = Newtonsoft.Json.Required.Always)] | |
[System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] | |
public System.Uri External_url { get; set; } | |
[Newtonsoft.Json.JsonProperty("html_url", Required = Newtonsoft.Json.Required.Always)] | |
[System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] | |
public System.Uri Html_url { get; set; } | |
[Newtonsoft.Json.JsonProperty("created_at", Required = Newtonsoft.Json.Required.Always)] | |
[System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] | |
public System.DateTimeOffset Created_at { get; set; } | |
[Newtonsoft.Json.JsonProperty("updated_at", Required = Newtonsoft.Json.Required.Always)] | |
[System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] | |
public System.DateTimeOffset Updated_at { get; set; } | |
/// <summary>The set of permissions for the GitHub app</summary> | |
[Newtonsoft.Json.JsonProperty("permissions", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] | |
public Permissions2 Permissions { get; set; } | |
/// <summary>The list of events for the GitHub app</summary> | |
[Newtonsoft.Json.JsonProperty("events", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore, ItemConverterType = typeof(Newtonsoft.Json.Converters.StringEnumConverter))] | |
public System.Collections.Generic.ICollection<Events> Events { get; set; } | |
} | |
[System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "10.4.6.0 (Newtonsoft.Json v9.0.0.0)")] | |
public partial class Pull_requests | |
{ | |
[Newtonsoft.Json.JsonProperty("url", Required = Newtonsoft.Json.Required.Always)] | |
[System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] | |
public System.Uri Url { get; set; } | |
[Newtonsoft.Json.JsonProperty("id", Required = Newtonsoft.Json.Required.Always)] | |
public int Id { get; set; } | |
[Newtonsoft.Json.JsonProperty("number", Required = Newtonsoft.Json.Required.Always)] | |
public int Number { get; set; } | |
[Newtonsoft.Json.JsonProperty("head", Required = Newtonsoft.Json.Required.Always)] | |
[System.ComponentModel.DataAnnotations.Required] | |
public Head Head { get; set; } = new Head(); | |
[Newtonsoft.Json.JsonProperty("base", Required = Newtonsoft.Json.Required.Always)] | |
[System.ComponentModel.DataAnnotations.Required] | |
public Base Base { get; set; } = new Base(); | |
} | |
[System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "10.4.6.0 (Newtonsoft.Json v9.0.0.0)")] | |
public partial class License | |
{ | |
[Newtonsoft.Json.JsonProperty("key", Required = Newtonsoft.Json.Required.Always)] | |
[System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] | |
public string Key { get; set; } | |
[Newtonsoft.Json.JsonProperty("name", Required = Newtonsoft.Json.Required.Always)] | |
[System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] | |
public string Name { get; set; } | |
[Newtonsoft.Json.JsonProperty("spdx_id", Required = Newtonsoft.Json.Required.Always)] | |
[System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] | |
public string Spdx_id { get; set; } | |
[Newtonsoft.Json.JsonProperty("url", Required = Newtonsoft.Json.Required.AllowNull)] | |
public System.Uri Url { get; set; } | |
[Newtonsoft.Json.JsonProperty("node_id", Required = Newtonsoft.Json.Required.Always)] | |
[System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] | |
public string Node_id { get; set; } | |
} | |
[System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "10.4.6.0 (Newtonsoft.Json v9.0.0.0)")] | |
public partial class Permissions | |
{ | |
[Newtonsoft.Json.JsonProperty("pull", Required = Newtonsoft.Json.Required.Always)] | |
public bool Pull { get; set; } | |
[Newtonsoft.Json.JsonProperty("push", Required = Newtonsoft.Json.Required.Always)] | |
public bool Push { get; set; } | |
[Newtonsoft.Json.JsonProperty("admin", Required = Newtonsoft.Json.Required.Always)] | |
public bool Admin { get; set; } | |
[Newtonsoft.Json.JsonProperty("maintain", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] | |
public bool Maintain { get; set; } | |
[Newtonsoft.Json.JsonProperty("triage", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] | |
public bool Triage { get; set; } | |
} | |
[System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "10.4.6.0 (Newtonsoft.Json v9.0.0.0)")] | |
public enum SenderType | |
{ | |
[System.Runtime.Serialization.EnumMember(Value = @"Bot")] | |
Bot = 0, | |
[System.Runtime.Serialization.EnumMember(Value = @"User")] | |
User = 1, | |
[System.Runtime.Serialization.EnumMember(Value = @"Organization")] | |
Organization = 2, | |
} | |
[System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "10.4.6.0 (Newtonsoft.Json v9.0.0.0)")] | |
public enum Check_suiteStatus | |
{ | |
[System.Runtime.Serialization.EnumMember(Value = @"in_progress")] | |
In_progress = 0, | |
[System.Runtime.Serialization.EnumMember(Value = @"completed")] | |
Completed = 1, | |
[System.Runtime.Serialization.EnumMember(Value = @"queued")] | |
Queued = 2, | |
} | |
[System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "10.4.6.0 (Newtonsoft.Json v9.0.0.0)")] | |
public enum Check_suiteConclusion | |
{ | |
[System.Runtime.Serialization.EnumMember(Value = @"success")] | |
Success = 0, | |
[System.Runtime.Serialization.EnumMember(Value = @"failure")] | |
Failure = 1, | |
[System.Runtime.Serialization.EnumMember(Value = @"neutral")] | |
Neutral = 2, | |
[System.Runtime.Serialization.EnumMember(Value = @"cancelled")] | |
Cancelled = 3, | |
[System.Runtime.Serialization.EnumMember(Value = @"timed_out")] | |
Timed_out = 4, | |
[System.Runtime.Serialization.EnumMember(Value = @"action_required")] | |
Action_required = 5, | |
[System.Runtime.Serialization.EnumMember(Value = @"stale")] | |
Stale = 6, | |
} | |
/// <summary>A deployment to a repository environment. This will only be populated if the check run was created by a GitHub Actions workflow job that references an environment.</summary> | |
[System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "10.4.6.0 (Newtonsoft.Json v9.0.0.0)")] | |
public partial class Deployment | |
{ | |
[Newtonsoft.Json.JsonProperty("url", Required = Newtonsoft.Json.Required.Always)] | |
[System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] | |
public System.Uri Url { get; set; } | |
[Newtonsoft.Json.JsonProperty("id", Required = Newtonsoft.Json.Required.Always)] | |
public int Id { get; set; } | |
[Newtonsoft.Json.JsonProperty("node_id", Required = Newtonsoft.Json.Required.Always)] | |
[System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] | |
public string Node_id { get; set; } | |
[Newtonsoft.Json.JsonProperty("task", Required = Newtonsoft.Json.Required.Always)] | |
[System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] | |
public string Task { get; set; } | |
[Newtonsoft.Json.JsonProperty("original_environment", Required = Newtonsoft.Json.Required.Always)] | |
[System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] | |
public string Original_environment { get; set; } | |
[Newtonsoft.Json.JsonProperty("environment", Required = Newtonsoft.Json.Required.Always)] | |
[System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] | |
public string Environment { get; set; } | |
[Newtonsoft.Json.JsonProperty("description", Required = Newtonsoft.Json.Required.AllowNull)] | |
public string Description { get; set; } | |
[Newtonsoft.Json.JsonProperty("created_at", Required = Newtonsoft.Json.Required.Always)] | |
[System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] | |
public System.DateTimeOffset Created_at { get; set; } | |
[Newtonsoft.Json.JsonProperty("updated_at", Required = Newtonsoft.Json.Required.Always)] | |
[System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] | |
public System.DateTimeOffset Updated_at { get; set; } | |
[Newtonsoft.Json.JsonProperty("statuses_url", Required = Newtonsoft.Json.Required.Always)] | |
[System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] | |
public System.Uri Statuses_url { get; set; } | |
[Newtonsoft.Json.JsonProperty("repository_url", Required = Newtonsoft.Json.Required.Always)] | |
[System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] | |
public System.Uri Repository_url { get; set; } | |
} | |
[System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "10.4.6.0 (Newtonsoft.Json v9.0.0.0)")] | |
public partial class Permissions2 | |
{ | |
[Newtonsoft.Json.JsonProperty("actions", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] | |
[Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] | |
public Permissions2Actions Actions { get; set; } | |
[Newtonsoft.Json.JsonProperty("administration", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] | |
[Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] | |
public Permissions2Administration Administration { get; set; } | |
[Newtonsoft.Json.JsonProperty("checks", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] | |
[Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] | |
public Permissions2Checks Checks { get; set; } | |
[Newtonsoft.Json.JsonProperty("content_references", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] | |
[Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] | |
public Permissions2Content_references Content_references { get; set; } | |
[Newtonsoft.Json.JsonProperty("contents", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] | |
[Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] | |
public Permissions2Contents Contents { get; set; } | |
[Newtonsoft.Json.JsonProperty("deployments", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] | |
[Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] | |
public Permissions2Deployments Deployments { get; set; } | |
[Newtonsoft.Json.JsonProperty("discussions", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] | |
[Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] | |
public Permissions2Discussions Discussions { get; set; } | |
[Newtonsoft.Json.JsonProperty("emails", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] | |
[Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] | |
public Permissions2Emails Emails { get; set; } | |
[Newtonsoft.Json.JsonProperty("environments", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] | |
[Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] | |
public Permissions2Environments Environments { get; set; } | |
[Newtonsoft.Json.JsonProperty("issues", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] | |
[Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] | |
public Permissions2Issues Issues { get; set; } | |
[Newtonsoft.Json.JsonProperty("members", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] | |
[Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] | |
public Permissions2Members Members { get; set; } | |
[Newtonsoft.Json.JsonProperty("metadata", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] | |
[Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] | |
public Permissions2Metadata Metadata { get; set; } | |
[Newtonsoft.Json.JsonProperty("organization_administration", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] | |
[Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] | |
public Permissions2Organization_administration Organization_administration { get; set; } | |
[Newtonsoft.Json.JsonProperty("organization_hooks", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] | |
[Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] | |
public Permissions2Organization_hooks Organization_hooks { get; set; } | |
[Newtonsoft.Json.JsonProperty("organization_packages", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] | |
[Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] | |
public Permissions2Organization_packages Organization_packages { get; set; } | |
[Newtonsoft.Json.JsonProperty("organization_plan", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] | |
[Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] | |
public Permissions2Organization_plan Organization_plan { get; set; } | |
[Newtonsoft.Json.JsonProperty("organization_projects", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] | |
[Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] | |
public Permissions2Organization_projects Organization_projects { get; set; } | |
[Newtonsoft.Json.JsonProperty("organization_secrets", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] | |
[Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] | |
public Permissions2Organization_secrets Organization_secrets { get; set; } | |
[Newtonsoft.Json.JsonProperty("organization_self_hosted_runners", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] | |
[Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] | |
public Permissions2Organization_self_hosted_runners Organization_self_hosted_runners { get; set; } | |
[Newtonsoft.Json.JsonProperty("organization_user_blocking", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] | |
[Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] | |
public Permissions2Organization_user_blocking Organization_user_blocking { get; set; } | |
[Newtonsoft.Json.JsonProperty("packages", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] | |
[Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] | |
public Permissions2Packages Packages { get; set; } | |
[Newtonsoft.Json.JsonProperty("pages", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] | |
[Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] | |
public Permissions2Pages Pages { get; set; } | |
[Newtonsoft.Json.JsonProperty("pull_requests", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] | |
[Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] | |
public Permissions2Pull_requests Pull_requests { get; set; } | |
[Newtonsoft.Json.JsonProperty("repository_hooks", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] | |
[Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] | |
public Permissions2Repository_hooks Repository_hooks { get; set; } | |
[Newtonsoft.Json.JsonProperty("repository_projects", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] | |
[Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] | |
public Permissions2Repository_projects Repository_projects { get; set; } | |
[Newtonsoft.Json.JsonProperty("secret_scanning_alerts", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] | |
[Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] | |
public Permissions2Secret_scanning_alerts Secret_scanning_alerts { get; set; } | |
[Newtonsoft.Json.JsonProperty("secrets", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] | |
[Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] | |
public Permissions2Secrets Secrets { get; set; } | |
[Newtonsoft.Json.JsonProperty("security_events", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] | |
[Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] | |
public Permissions2Security_events Security_events { get; set; } | |
[Newtonsoft.Json.JsonProperty("security_scanning_alert", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] | |
[Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] | |
public Permissions2Security_scanning_alert Security_scanning_alert { get; set; } | |
[Newtonsoft.Json.JsonProperty("single_file", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] | |
[Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] | |
public Permissions2Single_file Single_file { get; set; } | |
[Newtonsoft.Json.JsonProperty("statuses", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] | |
[Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] | |
public Permissions2Statuses Statuses { get; set; } | |
[Newtonsoft.Json.JsonProperty("team_discussions", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] | |
[Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] | |
public Permissions2Team_discussions Team_discussions { get; set; } | |
[Newtonsoft.Json.JsonProperty("vulnerability_alerts", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] | |
[Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] | |
public Permissions2Vulnerability_alerts Vulnerability_alerts { get; set; } | |
[Newtonsoft.Json.JsonProperty("workflows", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] | |
[Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] | |
public Permissions2Workflows Workflows { get; set; } | |
} | |
[System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "10.4.6.0 (Newtonsoft.Json v9.0.0.0)")] | |
public enum Events | |
{ | |
[System.Runtime.Serialization.EnumMember(Value = @"check_run")] | |
Check_run = 0, | |
[System.Runtime.Serialization.EnumMember(Value = @"check_suite")] | |
Check_suite = 1, | |
[System.Runtime.Serialization.EnumMember(Value = @"code_scanning_alert")] | |
Code_scanning_alert = 2, | |
[System.Runtime.Serialization.EnumMember(Value = @"commit_comment")] | |
Commit_comment = 3, | |
[System.Runtime.Serialization.EnumMember(Value = @"content_reference")] | |
Content_reference = 4, | |
[System.Runtime.Serialization.EnumMember(Value = @"create")] | |
Create = 5, | |
[System.Runtime.Serialization.EnumMember(Value = @"delete")] | |
Delete = 6, | |
[System.Runtime.Serialization.EnumMember(Value = @"deployment")] | |
Deployment = 7, | |
[System.Runtime.Serialization.EnumMember(Value = @"deployment_review")] | |
Deployment_review = 8, | |
[System.Runtime.Serialization.EnumMember(Value = @"deployment_status")] | |
Deployment_status = 9, | |
[System.Runtime.Serialization.EnumMember(Value = @"deploy_key")] | |
Deploy_key = 10, | |
[System.Runtime.Serialization.EnumMember(Value = @"discussion")] | |
Discussion = 11, | |
[System.Runtime.Serialization.EnumMember(Value = @"discussion_comment")] | |
Discussion_comment = 12, | |
[System.Runtime.Serialization.EnumMember(Value = @"fork")] | |
Fork = 13, | |
[System.Runtime.Serialization.EnumMember(Value = @"gollum")] | |
Gollum = 14, | |
[System.Runtime.Serialization.EnumMember(Value = @"issues")] | |
Issues = 15, | |
[System.Runtime.Serialization.EnumMember(Value = @"issue_comment")] | |
Issue_comment = 16, | |
[System.Runtime.Serialization.EnumMember(Value = @"label")] | |
Label = 17, | |
[System.Runtime.Serialization.EnumMember(Value = @"member")] | |
Member = 18, | |
[System.Runtime.Serialization.EnumMember(Value = @"membership")] | |
Membership = 19, | |
[System.Runtime.Serialization.EnumMember(Value = @"milestone")] | |
Milestone = 20, | |
[System.Runtime.Serialization.EnumMember(Value = @"organization")] | |
Organization = 21, | |
[System.Runtime.Serialization.EnumMember(Value = @"org_block")] | |
Org_block = 22, | |
[System.Runtime.Serialization.EnumMember(Value = @"page_build")] | |
Page_build = 23, | |
[System.Runtime.Serialization.EnumMember(Value = @"project")] | |
Project = 24, | |
[System.Runtime.Serialization.EnumMember(Value = @"project_card")] | |
Project_card = 25, | |
[System.Runtime.Serialization.EnumMember(Value = @"project_column")] | |
Project_column = 26, | |
[System.Runtime.Serialization.EnumMember(Value = @"public")] | |
Public = 27, | |
[System.Runtime.Serialization.EnumMember(Value = @"pull_request")] | |
Pull_request = 28, | |
[System.Runtime.Serialization.EnumMember(Value = @"pull_request_review")] | |
Pull_request_review = 29, | |
[System.Runtime.Serialization.EnumMember(Value = @"pull_request_review_comment")] | |
Pull_request_review_comment = 30, | |
[System.Runtime.Serialization.EnumMember(Value = @"push")] | |
Push = 31, | |
[System.Runtime.Serialization.EnumMember(Value = @"registry_package")] | |
Registry_package = 32, | |
[System.Runtime.Serialization.EnumMember(Value = @"release")] | |
Release = 33, | |
[System.Runtime.Serialization.EnumMember(Value = @"repository")] | |
Repository = 34, | |
[System.Runtime.Serialization.EnumMember(Value = @"repository_dispatch")] | |
Repository_dispatch = 35, | |
[System.Runtime.Serialization.EnumMember(Value = @"secret_scanning_alert")] | |
Secret_scanning_alert = 36, | |
[System.Runtime.Serialization.EnumMember(Value = @"star")] | |
Star = 37, | |
[System.Runtime.Serialization.EnumMember(Value = @"status")] | |
Status = 38, | |
[System.Runtime.Serialization.EnumMember(Value = @"team")] | |
Team = 39, | |
[System.Runtime.Serialization.EnumMember(Value = @"team_add")] | |
Team_add = 40, | |
[System.Runtime.Serialization.EnumMember(Value = @"watch")] | |
Watch = 41, | |
[System.Runtime.Serialization.EnumMember(Value = @"workflow_dispatch")] | |
Workflow_dispatch = 42, | |
[System.Runtime.Serialization.EnumMember(Value = @"workflow_run")] | |
Workflow_run = 43, | |
} | |
[System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "10.4.6.0 (Newtonsoft.Json v9.0.0.0)")] | |
public partial class Head | |
{ | |
[Newtonsoft.Json.JsonProperty("ref", Required = Newtonsoft.Json.Required.Always)] | |
[System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] | |
public string Ref { get; set; } | |
[Newtonsoft.Json.JsonProperty("sha", Required = Newtonsoft.Json.Required.Always)] | |
[System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] | |
public string Sha { get; set; } | |
[Newtonsoft.Json.JsonProperty("repo", Required = Newtonsoft.Json.Required.Always)] | |
[System.ComponentModel.DataAnnotations.Required] | |
public Repo Repo { get; set; } = new Repo(); | |
} | |
[System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "10.4.6.0 (Newtonsoft.Json v9.0.0.0)")] | |
public partial class Base | |
{ | |
[Newtonsoft.Json.JsonProperty("ref", Required = Newtonsoft.Json.Required.Always)] | |
[System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] | |
public string Ref { get; set; } | |
[Newtonsoft.Json.JsonProperty("sha", Required = Newtonsoft.Json.Required.Always)] | |
[System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] | |
public string Sha { get; set; } | |
[Newtonsoft.Json.JsonProperty("repo", Required = Newtonsoft.Json.Required.Always)] | |
[System.ComponentModel.DataAnnotations.Required] | |
public Repo Repo { get; set; } = new Repo(); | |
} | |
[System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "10.4.6.0 (Newtonsoft.Json v9.0.0.0)")] | |
public enum Permissions2Actions | |
{ | |
[System.Runtime.Serialization.EnumMember(Value = @"read")] | |
Read = 0, | |
[System.Runtime.Serialization.EnumMember(Value = @"write")] | |
Write = 1, | |
} | |
[System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "10.4.6.0 (Newtonsoft.Json v9.0.0.0)")] | |
public enum Permissions2Administration | |
{ | |
[System.Runtime.Serialization.EnumMember(Value = @"read")] | |
Read = 0, | |
[System.Runtime.Serialization.EnumMember(Value = @"write")] | |
Write = 1, | |
} | |
[System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "10.4.6.0 (Newtonsoft.Json v9.0.0.0)")] | |
public enum Permissions2Checks | |
{ | |
[System.Runtime.Serialization.EnumMember(Value = @"read")] | |
Read = 0, | |
[System.Runtime.Serialization.EnumMember(Value = @"write")] | |
Write = 1, | |
} | |
[System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "10.4.6.0 (Newtonsoft.Json v9.0.0.0)")] | |
public enum Permissions2Content_references | |
{ | |
[System.Runtime.Serialization.EnumMember(Value = @"read")] | |
Read = 0, | |
[System.Runtime.Serialization.EnumMember(Value = @"write")] | |
Write = 1, | |
} | |
[System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "10.4.6.0 (Newtonsoft.Json v9.0.0.0)")] | |
public enum Permissions2Contents | |
{ | |
[System.Runtime.Serialization.EnumMember(Value = @"read")] | |
Read = 0, | |
[System.Runtime.Serialization.EnumMember(Value = @"write")] | |
Write = 1, | |
} | |
[System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "10.4.6.0 (Newtonsoft.Json v9.0.0.0)")] | |
public enum Permissions2Deployments | |
{ | |
[System.Runtime.Serialization.EnumMember(Value = @"read")] | |
Read = 0, | |
[System.Runtime.Serialization.EnumMember(Value = @"write")] | |
Write = 1, | |
} | |
[System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "10.4.6.0 (Newtonsoft.Json v9.0.0.0)")] | |
public enum Permissions2Discussions | |
{ | |
[System.Runtime.Serialization.EnumMember(Value = @"read")] | |
Read = 0, | |
[System.Runtime.Serialization.EnumMember(Value = @"write")] | |
Write = 1, | |
} | |
[System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "10.4.6.0 (Newtonsoft.Json v9.0.0.0)")] | |
public enum Permissions2Emails | |
{ | |
[System.Runtime.Serialization.EnumMember(Value = @"read")] | |
Read = 0, | |
[System.Runtime.Serialization.EnumMember(Value = @"write")] | |
Write = 1, | |
} | |
[System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "10.4.6.0 (Newtonsoft.Json v9.0.0.0)")] | |
public enum Permissions2Environments | |
{ | |
[System.Runtime.Serialization.EnumMember(Value = @"read")] | |
Read = 0, | |
[System.Runtime.Serialization.EnumMember(Value = @"write")] | |
Write = 1, | |
} | |
[System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "10.4.6.0 (Newtonsoft.Json v9.0.0.0)")] | |
public enum Permissions2Issues | |
{ | |
[System.Runtime.Serialization.EnumMember(Value = @"read")] | |
Read = 0, | |
[System.Runtime.Serialization.EnumMember(Value = @"write")] | |
Write = 1, | |
} | |
[System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "10.4.6.0 (Newtonsoft.Json v9.0.0.0)")] | |
public enum Permissions2Members | |
{ | |
[System.Runtime.Serialization.EnumMember(Value = @"read")] | |
Read = 0, | |
[System.Runtime.Serialization.EnumMember(Value = @"write")] | |
Write = 1, | |
} | |
[System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "10.4.6.0 (Newtonsoft.Json v9.0.0.0)")] | |
public enum Permissions2Metadata | |
{ | |
[System.Runtime.Serialization.EnumMember(Value = @"read")] | |
Read = 0, | |
[System.Runtime.Serialization.EnumMember(Value = @"write")] | |
Write = 1, | |
} | |
[System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "10.4.6.0 (Newtonsoft.Json v9.0.0.0)")] | |
public enum Permissions2Organization_administration | |
{ | |
[System.Runtime.Serialization.EnumMember(Value = @"read")] | |
Read = 0, | |
[System.Runtime.Serialization.EnumMember(Value = @"write")] | |
Write = 1, | |
} | |
[System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "10.4.6.0 (Newtonsoft.Json v9.0.0.0)")] | |
public enum Permissions2Organization_hooks | |
{ | |
[System.Runtime.Serialization.EnumMember(Value = @"read")] | |
Read = 0, | |
[System.Runtime.Serialization.EnumMember(Value = @"write")] | |
Write = 1, | |
} | |
[System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "10.4.6.0 (Newtonsoft.Json v9.0.0.0)")] | |
public enum Permissions2Organization_packages | |
{ | |
[System.Runtime.Serialization.EnumMember(Value = @"read")] | |
Read = 0, | |
[System.Runtime.Serialization.EnumMember(Value = @"write")] | |
Write = 1, | |
} | |
[System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "10.4.6.0 (Newtonsoft.Json v9.0.0.0)")] | |
public enum Permissions2Organization_plan | |
{ | |
[System.Runtime.Serialization.EnumMember(Value = @"read")] | |
Read = 0, | |
[System.Runtime.Serialization.EnumMember(Value = @"write")] | |
Write = 1, | |
} | |
[System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "10.4.6.0 (Newtonsoft.Json v9.0.0.0)")] | |
public enum Permissions2Organization_projects | |
{ | |
[System.Runtime.Serialization.EnumMember(Value = @"read")] | |
Read = 0, | |
[System.Runtime.Serialization.EnumMember(Value = @"write")] | |
Write = 1, | |
} | |
[System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "10.4.6.0 (Newtonsoft.Json v9.0.0.0)")] | |
public enum Permissions2Organization_secrets | |
{ | |
[System.Runtime.Serialization.EnumMember(Value = @"read")] | |
Read = 0, | |
[System.Runtime.Serialization.EnumMember(Value = @"write")] | |
Write = 1, | |
} | |
[System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "10.4.6.0 (Newtonsoft.Json v9.0.0.0)")] | |
public enum Permissions2Organization_self_hosted_runners | |
{ | |
[System.Runtime.Serialization.EnumMember(Value = @"read")] | |
Read = 0, | |
[System.Runtime.Serialization.EnumMember(Value = @"write")] | |
Write = 1, | |
} | |
[System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "10.4.6.0 (Newtonsoft.Json v9.0.0.0)")] | |
public enum Permissions2Organization_user_blocking | |
{ | |
[System.Runtime.Serialization.EnumMember(Value = @"read")] | |
Read = 0, | |
[System.Runtime.Serialization.EnumMember(Value = @"write")] | |
Write = 1, | |
} | |
[System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "10.4.6.0 (Newtonsoft.Json v9.0.0.0)")] | |
public enum Permissions2Packages | |
{ | |
[System.Runtime.Serialization.EnumMember(Value = @"read")] | |
Read = 0, | |
[System.Runtime.Serialization.EnumMember(Value = @"write")] | |
Write = 1, | |
} | |
[System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "10.4.6.0 (Newtonsoft.Json v9.0.0.0)")] | |
public enum Permissions2Pages | |
{ | |
[System.Runtime.Serialization.EnumMember(Value = @"read")] | |
Read = 0, | |
[System.Runtime.Serialization.EnumMember(Value = @"write")] | |
Write = 1, | |
} | |
[System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "10.4.6.0 (Newtonsoft.Json v9.0.0.0)")] | |
public enum Permissions2Pull_requests | |
{ | |
[System.Runtime.Serialization.EnumMember(Value = @"read")] | |
Read = 0, | |
[System.Runtime.Serialization.EnumMember(Value = @"write")] | |
Write = 1, | |
} | |
[System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "10.4.6.0 (Newtonsoft.Json v9.0.0.0)")] | |
public enum Permissions2Repository_hooks | |
{ | |
[System.Runtime.Serialization.EnumMember(Value = @"read")] | |
Read = 0, | |
[System.Runtime.Serialization.EnumMember(Value = @"write")] | |
Write = 1, | |
} | |
[System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "10.4.6.0 (Newtonsoft.Json v9.0.0.0)")] | |
public enum Permissions2Repository_projects | |
{ | |
[System.Runtime.Serialization.EnumMember(Value = @"read")] | |
Read = 0, | |
[System.Runtime.Serialization.EnumMember(Value = @"write")] | |
Write = 1, | |
} | |
[System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "10.4.6.0 (Newtonsoft.Json v9.0.0.0)")] | |
public enum Permissions2Secret_scanning_alerts | |
{ | |
[System.Runtime.Serialization.EnumMember(Value = @"read")] | |
Read = 0, | |
[System.Runtime.Serialization.EnumMember(Value = @"write")] | |
Write = 1, | |
} | |
[System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "10.4.6.0 (Newtonsoft.Json v9.0.0.0)")] | |
public enum Permissions2Secrets | |
{ | |
[System.Runtime.Serialization.EnumMember(Value = @"read")] | |
Read = 0, | |
[System.Runtime.Serialization.EnumMember(Value = @"write")] | |
Write = 1, | |
} | |
[System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "10.4.6.0 (Newtonsoft.Json v9.0.0.0)")] | |
public enum Permissions2Security_events | |
{ | |
[System.Runtime.Serialization.EnumMember(Value = @"read")] | |
Read = 0, | |
[System.Runtime.Serialization.EnumMember(Value = @"write")] | |
Write = 1, | |
} | |
[System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "10.4.6.0 (Newtonsoft.Json v9.0.0.0)")] | |
public enum Permissions2Security_scanning_alert | |
{ | |
[System.Runtime.Serialization.EnumMember(Value = @"read")] | |
Read = 0, | |
[System.Runtime.Serialization.EnumMember(Value = @"write")] | |
Write = 1, | |
} | |
[System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "10.4.6.0 (Newtonsoft.Json v9.0.0.0)")] | |
public enum Permissions2Single_file | |
{ | |
[System.Runtime.Serialization.EnumMember(Value = @"read")] | |
Read = 0, | |
[System.Runtime.Serialization.EnumMember(Value = @"write")] | |
Write = 1, | |
} | |
[System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "10.4.6.0 (Newtonsoft.Json v9.0.0.0)")] | |
public enum Permissions2Statuses | |
{ | |
[System.Runtime.Serialization.EnumMember(Value = @"read")] | |
Read = 0, | |
[System.Runtime.Serialization.EnumMember(Value = @"write")] | |
Write = 1, | |
} | |
[System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "10.4.6.0 (Newtonsoft.Json v9.0.0.0)")] | |
public enum Permissions2Team_discussions | |
{ | |
[System.Runtime.Serialization.EnumMember(Value = @"read")] | |
Read = 0, | |
[System.Runtime.Serialization.EnumMember(Value = @"write")] | |
Write = 1, | |
} | |
[System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "10.4.6.0 (Newtonsoft.Json v9.0.0.0)")] | |
public enum Permissions2Vulnerability_alerts | |
{ | |
[System.Runtime.Serialization.EnumMember(Value = @"read")] | |
Read = 0, | |
[System.Runtime.Serialization.EnumMember(Value = @"write")] | |
Write = 1, | |
} | |
[System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "10.4.6.0 (Newtonsoft.Json v9.0.0.0)")] | |
public enum Permissions2Workflows | |
{ | |
[System.Runtime.Serialization.EnumMember(Value = @"read")] | |
Read = 0, | |
[System.Runtime.Serialization.EnumMember(Value = @"write")] | |
Write = 1, | |
} | |
[System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "10.4.6.0 (Newtonsoft.Json v9.0.0.0)")] | |
public partial class Repo | |
{ | |
[Newtonsoft.Json.JsonProperty("id", Required = Newtonsoft.Json.Required.Always)] | |
public int Id { get; set; } | |
[Newtonsoft.Json.JsonProperty("url", Required = Newtonsoft.Json.Required.Always)] | |
[System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] | |
public System.Uri Url { get; set; } | |
[Newtonsoft.Json.JsonProperty("name", Required = Newtonsoft.Json.Required.Always)] | |
[System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] | |
public string Name { get; set; } | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment