You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: src/GitHub/Models/OrgRulesetConditions.cs
+1-1
Original file line number
Diff line number
Diff line change
@@ -8,7 +8,7 @@
8
8
namespaceGitHub.Models
9
9
{
10
10
/// <summary>
11
-
/// Conditions for an organization ruleset.The conditions object should contain both `repository_name` and `ref_name` properties or both `repository_id` and `ref_name` properties.
11
+
/// Conditions for an organization ruleset.The branch and tag rulesets conditions object should contain both `repository_name` and `ref_name` properties, or both `repository_id` and `ref_name` properties, or both `repository_property` and `ref_name` properties.The push rulesets conditions object does not require the `ref_name` property.
/// <summary>Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.</summary>
/// <summary>When the specified actor can bypass the ruleset. `pull_request` means that an actor can only bypass rules on pull requests. `pull_request` is not applicable for the `DeployKey` actor type.</summary>
22
+
/// <summary>When the specified actor can bypass the ruleset. `pull_request` means that an actor can only bypass rules on pull requests. `pull_request` is not applicable for the `DeployKey` actor type. Also, `pull_request` is only applicable to branch rulesets.</summary>
Copy file name to clipboardexpand all lines: src/GitHub/Models/RepositoryRulesetBypassActor_bypass_mode.cs
+1-1
Original file line number
Diff line number
Diff line change
@@ -3,7 +3,7 @@
3
3
usingSystem;
4
4
namespaceGitHub.Models
5
5
{
6
-
/// <summary>When the specified actor can bypass the ruleset. `pull_request` means that an actor can only bypass rules on pull requests. `pull_request` is not applicable for the `DeployKey` actor type.</summary>
6
+
/// <summary>When the specified actor can bypass the ruleset. `pull_request` means that an actor can only bypass rules on pull requests. `pull_request` is not applicable for the `DeployKey` actor type. Also, `pull_request` is only applicable to branch rulesets.</summary>
/// <summary>Conditions for an organization ruleset.The conditions object should contain both `repository_name` and `ref_name` properties or both `repository_id` and `ref_name` properties.</summary>
26
+
/// <summary>Conditions for an organization ruleset.The branch and tag rulesets conditions object should contain both `repository_name` and `ref_name` properties, or both `repository_id` and `ref_name` properties, or both `repository_property` and `ref_name` properties.The push rulesets conditions object does not require the `ref_name` property.</summary>
/// <summary>Conditions for an organization ruleset.The conditions object should contain both `repository_name` and `ref_name` properties or both `repository_id` and `ref_name` properties.</summary>
26
+
/// <summary>Conditions for an organization ruleset.The branch and tag rulesets conditions object should contain both `repository_name` and `ref_name` properties, or both `repository_id` and `ref_name` properties, or both `repository_property` and `ref_name` properties.The push rulesets conditions object does not require the `ref_name` property.</summary>
@@ -118,6 +118,9 @@ public partial class AlertsRequestBuilderGetQueryParameters
118
118
/// <summary>The number of results per page (max 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)."</summary>
119
119
[QueryParameter("per_page")]
120
120
publicint?PerPage{get;set;}
121
+
/// <summary>The number of the pull request for the results you want to list.</summary>
122
+
[QueryParameter("pr")]
123
+
publicint?Pr{get;set;}
121
124
/// <summary>The Git reference for the results you want to list. The `ref` for a branch can be formatted either as `refs/heads/<branch name>` or simply `<branch name>`. To reference a pull request use `refs/pull/<number>/merge`.</summary>
/// Instantiates a new <see cref="global::GitHub.Repos.Item.Item.CodeScanning.Alerts.Item.Instances.InstancesRequestBuilder"/> and sets the default values.
30
30
/// </summary>
31
31
/// <param name="rawUrl">The raw URL to use for the request builder.</param>
32
32
/// <param name="requestAdapter">The request adapter to use to execute the requests.</param>
@@ -102,6 +102,9 @@ public partial class InstancesRequestBuilderGetQueryParameters
102
102
/// <summary>The number of results per page (max 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)."</summary>
103
103
[QueryParameter("per_page")]
104
104
publicint?PerPage{get;set;}
105
+
/// <summary>The number of the pull request for the results you want to list.</summary>
106
+
[QueryParameter("pr")]
107
+
publicint?Pr{get;set;}
105
108
/// <summary>The Git reference for the results you want to list. The `ref` for a branch can be formatted either as `refs/heads/<branch name>` or simply `<branch name>`. To reference a pull request use `refs/pull/<number>/merge`.</summary>
@@ -118,6 +118,9 @@ public partial class AnalysesRequestBuilderGetQueryParameters
118
118
/// <summary>The number of results per page (max 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)."</summary>
119
119
[QueryParameter("per_page")]
120
120
publicint?PerPage{get;set;}
121
+
/// <summary>The number of the pull request for the results you want to list.</summary>
122
+
[QueryParameter("pr")]
123
+
publicint?Pr{get;set;}
121
124
/// <summary>The Git reference for the analyses you want to list. The `ref` for a branch can be formatted either as `refs/heads/<branch name>` or simply `<branch name>`. To reference a pull request use `refs/pull/<number>/merge`.</summary>
0 commit comments