Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GHES 3.14: Changes in generated code #127

Open
wants to merge 21 commits into
base: 3.14
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
New updates to generated code
octokitbot committed Jan 17, 2025
commit 7f0c42235e1f05546da8076fa4d2f1779911d7f1
Original file line number Diff line number Diff line change
@@ -161,7 +161,7 @@ public partial class AlertsRequestBuilderGetQueryParameters
[QueryParameter("severity")]
public string Severity { get; set; }
#endif
/// <summary>The property by which to sort the results.`created` means when the alert was created.`updated` means when the alert&apos;s state last changed.</summary>
/// <summary>The property by which to sort the results.`created` means when the alert was created.`updated` means when the alert&apos;s state last changed.`epss_percentage` sorts alerts by the Exploit Prediction Scoring System (EPSS) percentage.</summary>
[QueryParameter("sort")]
public global::GitHub.Enterprises.Item.Dependabot.Alerts.GetSortQueryParameterType? Sort { get; set; }
/// <summary>A comma-separated list of states. If specified, only alerts with these states will be returned.Can be: `auto_dismissed`, `dismissed`, `fixed`, `open`</summary>
Original file line number Diff line number Diff line change
@@ -16,5 +16,9 @@ public enum GetSortQueryParameterType
#pragma warning disable CS1591
Updated,
#pragma warning restore CS1591
[EnumMember(Value = "epss_percentage")]
#pragma warning disable CS1591
Epss_percentage,
#pragma warning restore CS1591
}
}
Original file line number Diff line number Diff line change
@@ -163,7 +163,7 @@ public partial class AlertsRequestBuilderGetQueryParameters
[QueryParameter("severity")]
public string Severity { get; set; }
#endif
/// <summary>The property by which to sort the results.`created` means when the alert was created.`updated` means when the alert&apos;s state last changed.</summary>
/// <summary>The property by which to sort the results.`created` means when the alert was created.`updated` means when the alert&apos;s state last changed.`epss_percentage` sorts alerts by the Exploit Prediction Scoring System (EPSS) percentage.</summary>
[QueryParameter("sort")]
public global::GitHub.Orgs.Item.Dependabot.Alerts.GetSortQueryParameterType? Sort { get; set; }
/// <summary>A comma-separated list of states. If specified, only alerts with these states will be returned.Can be: `auto_dismissed`, `dismissed`, `fixed`, `open`</summary>
Original file line number Diff line number Diff line change
@@ -16,5 +16,9 @@ public enum GetSortQueryParameterType
#pragma warning disable CS1591
Updated,
#pragma warning restore CS1591
[EnumMember(Value = "epss_percentage")]
#pragma warning disable CS1591
Epss_percentage,
#pragma warning restore CS1591
}
}
Original file line number Diff line number Diff line change
@@ -191,7 +191,7 @@ public partial class AlertsRequestBuilderGetQueryParameters
[QueryParameter("severity")]
public string Severity { get; set; }
#endif
/// <summary>The property by which to sort the results.`created` means when the alert was created.`updated` means when the alert&apos;s state last changed.</summary>
/// <summary>The property by which to sort the results.`created` means when the alert was created.`updated` means when the alert&apos;s state last changed.`epss_percentage` sorts alerts by the Exploit Prediction Scoring System (EPSS) percentage.</summary>
[QueryParameter("sort")]
public global::GitHub.Repos.Item.Item.Dependabot.Alerts.GetSortQueryParameterType? Sort { get; set; }
/// <summary>A comma-separated list of states. If specified, only alerts with these states will be returned.Can be: `auto_dismissed`, `dismissed`, `fixed`, `open`</summary>
Original file line number Diff line number Diff line change
@@ -16,5 +16,9 @@ public enum GetSortQueryParameterType
#pragma warning disable CS1591
Updated,
#pragma warning restore CS1591
[EnumMember(Value = "epss_percentage")]
#pragma warning disable CS1591
Epss_percentage,
#pragma warning restore CS1591
}
}
4 changes: 2 additions & 2 deletions src/GitHub/User/Item/WithAccount_ItemRequestBuilder.cs
Original file line number Diff line number Diff line change
@@ -34,7 +34,7 @@ public WithAccount_ItemRequestBuilder(string rawUrl, IRequestAdapter requestAdap
{
}
/// <summary>
/// Provides publicly available information about someone with a GitHub account. This method takes their durable user `ID` instead of their `login`, which can change over time.The `email` key in the following response is the publicly visible email address from your GitHub Enterprise Server [profile page](https://github.com/settings/profile). When setting up your profile, you can select a primary email address to be “public” which provides an email entry for this endpoint. If you do not set a public email address for `email`, then it will have a value of `null`. You only see publicly visible email addresses when authenticated with GitHub Enterprise Server. For more information, see [Authentication](https://docs.github.com/[email protected]/rest/guides/getting-started-with-the-rest-api#authentication).The Emails API enables you to list all of your email addresses, and toggle a primary email to be visible publicly. For more information, see &quot;[Emails API](https://docs.github.com/[email protected]/rest/users/emails)&quot;.
/// Provides publicly available information about someone with a GitHub account. This method takes their durable user `ID` instead of their `login`, which can change over time.The `email` key in the following response is the publicly visible email address from your GitHub Enterprise Server [profile page](https://github.com/settings/profile). When setting up your profile, you can select a primary email address to be public which provides an email entry for this endpoint. If you do not set a public email address for `email`, then it will have a value of `null`. You only see publicly visible email addresses when authenticated with GitHub Enterprise Server. For more information, see [Authentication](https://docs.github.com/[email protected]/rest/guides/getting-started-with-the-rest-api#authentication).The Emails API enables you to list all of your email addresses, and toggle a primary email to be visible publicly. For more information, see [Emails API](https://docs.github.com/[email protected]/rest/users/emails).
/// API method documentation <see href="https://docs.github.com/[email protected]/rest/users/users#get-a-user-using-their-id" />
/// </summary>
/// <returns>A <see cref="global::GitHub.User.Item.WithAccount_ItemRequestBuilder.WithAccount_GetResponse"/></returns>
@@ -58,7 +58,7 @@ public WithAccount_ItemRequestBuilder(string rawUrl, IRequestAdapter requestAdap
return await RequestAdapter.SendAsync<global::GitHub.User.Item.WithAccount_ItemRequestBuilder.WithAccount_GetResponse>(requestInfo, global::GitHub.User.Item.WithAccount_ItemRequestBuilder.WithAccount_GetResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false);
}
/// <summary>
/// Provides publicly available information about someone with a GitHub account. This method takes their durable user `ID` instead of their `login`, which can change over time.The `email` key in the following response is the publicly visible email address from your GitHub Enterprise Server [profile page](https://github.com/settings/profile). When setting up your profile, you can select a primary email address to be “public” which provides an email entry for this endpoint. If you do not set a public email address for `email`, then it will have a value of `null`. You only see publicly visible email addresses when authenticated with GitHub Enterprise Server. For more information, see [Authentication](https://docs.github.com/[email protected]/rest/guides/getting-started-with-the-rest-api#authentication).The Emails API enables you to list all of your email addresses, and toggle a primary email to be visible publicly. For more information, see &quot;[Emails API](https://docs.github.com/[email protected]/rest/users/emails)&quot;.
/// Provides publicly available information about someone with a GitHub account. This method takes their durable user `ID` instead of their `login`, which can change over time.The `email` key in the following response is the publicly visible email address from your GitHub Enterprise Server [profile page](https://github.com/settings/profile). When setting up your profile, you can select a primary email address to be public which provides an email entry for this endpoint. If you do not set a public email address for `email`, then it will have a value of `null`. You only see publicly visible email addresses when authenticated with GitHub Enterprise Server. For more information, see [Authentication](https://docs.github.com/[email protected]/rest/guides/getting-started-with-the-rest-api#authentication).The Emails API enables you to list all of your email addresses, and toggle a primary email to be visible publicly. For more information, see [Emails API](https://docs.github.com/[email protected]/rest/users/emails).
/// </summary>
/// <returns>A <see cref="RequestInformation"/></returns>
/// <param name="requestConfiguration">Configuration for the request such as headers, query parameters, and middleware options.</param>
4 changes: 2 additions & 2 deletions src/GitHub/Users/Item/WithUsernameItemRequestBuilder.cs
Original file line number Diff line number Diff line change
@@ -154,7 +154,7 @@ public WithUsernameItemRequestBuilder(string rawUrl, IRequestAdapter requestAdap
{
}
/// <summary>
/// Provides publicly available information about someone with a GitHub account.The `email` key in the following response is the publicly visible email address from your GitHub Enterprise Server [profile page](https://github.com/settings/profile). When setting up your profile, you can select a primary email address to be public which provides an email entry for this endpoint. If you do not set a public email address for `email`, then it will have a value of `null`. You only see publicly visible email addresses when authenticated with GitHub Enterprise Server. For more information, see [Authentication](https://docs.github.com/[email protected]/rest/guides/getting-started-with-the-rest-api#authentication).The Emails API enables you to list all of your email addresses, and toggle a primary email to be visible publicly. For more information, see &quot;[Emails API](https://docs.github.com/[email protected]/rest/users/emails)&quot;.
/// Provides publicly available information about someone with a GitHub account.The `email` key in the following response is the publicly visible email address from your GitHub Enterprise Server [profile page](https://github.com/settings/profile). When setting up your profile, you can select a primary email address to be public which provides an email entry for this endpoint. If you do not set a public email address for `email`, then it will have a value of `null`. You only see publicly visible email addresses when authenticated with GitHub Enterprise Server. For more information, see [Authentication](https://docs.github.com/[email protected]/rest/guides/getting-started-with-the-rest-api#authentication).The Emails API enables you to list all of your email addresses, and toggle a primary email to be visible publicly. For more information, see [Emails API](https://docs.github.com/[email protected]/rest/users/emails).
/// API method documentation <see href="https://docs.github.com/[email protected]/rest/users/users#get-a-user" />
/// </summary>
/// <returns>A <see cref="global::GitHub.Users.Item.WithUsernameItemRequestBuilder.WithUsernameGetResponse"/></returns>
@@ -178,7 +178,7 @@ public WithUsernameItemRequestBuilder(string rawUrl, IRequestAdapter requestAdap
return await RequestAdapter.SendAsync<global::GitHub.Users.Item.WithUsernameItemRequestBuilder.WithUsernameGetResponse>(requestInfo, global::GitHub.Users.Item.WithUsernameItemRequestBuilder.WithUsernameGetResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false);
}
/// <summary>
/// Provides publicly available information about someone with a GitHub account.The `email` key in the following response is the publicly visible email address from your GitHub Enterprise Server [profile page](https://github.com/settings/profile). When setting up your profile, you can select a primary email address to be public which provides an email entry for this endpoint. If you do not set a public email address for `email`, then it will have a value of `null`. You only see publicly visible email addresses when authenticated with GitHub Enterprise Server. For more information, see [Authentication](https://docs.github.com/[email protected]/rest/guides/getting-started-with-the-rest-api#authentication).The Emails API enables you to list all of your email addresses, and toggle a primary email to be visible publicly. For more information, see &quot;[Emails API](https://docs.github.com/[email protected]/rest/users/emails)&quot;.
/// Provides publicly available information about someone with a GitHub account.The `email` key in the following response is the publicly visible email address from your GitHub Enterprise Server [profile page](https://github.com/settings/profile). When setting up your profile, you can select a primary email address to be public which provides an email entry for this endpoint. If you do not set a public email address for `email`, then it will have a value of `null`. You only see publicly visible email addresses when authenticated with GitHub Enterprise Server. For more information, see [Authentication](https://docs.github.com/[email protected]/rest/guides/getting-started-with-the-rest-api#authentication).The Emails API enables you to list all of your email addresses, and toggle a primary email to be visible publicly. For more information, see [Emails API](https://docs.github.com/[email protected]/rest/users/emails).
/// </summary>
/// <returns>A <see cref="RequestInformation"/></returns>
/// <param name="requestConfiguration">Configuration for the request such as headers, query parameters, and middleware options.</param>
2 changes: 1 addition & 1 deletion src/GitHub/kiota-lock.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"descriptionHash": "EE108032A8C8F81CB6824F8597F73BA8C76BF9F567C23F7902154B17C08728CAEBD103A4DC6ABFFA17CA70328908EEC58B1C5825D8B591F815830EE6B8A3D1D2",
"descriptionHash": "4F19E818A8DF3861F13D87F08F3B9F958BCE6ECF92C5175CD8FDBF4F46A10BC4DB50D33E2A1EBDABF2C18B10D75BB8EB2351A4596B5149B07BBE126211C8CB6D",
"descriptionLocation": "../../../../../schemas/ghes-3.14.json",
"lockFileVersion": "1.0.0",
"kiotaVersion": "1.19.0",