diff --git a/src/GitHub/Feeds/FeedsRequestBuilder.cs b/src/GitHub/Feeds/FeedsRequestBuilder.cs index c571720c..bd1d6967 100644 --- a/src/GitHub/Feeds/FeedsRequestBuilder.cs +++ b/src/GitHub/Feeds/FeedsRequestBuilder.cs @@ -28,7 +28,7 @@ public class FeedsRequestBuilder : BaseRequestBuilder { public FeedsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/feeds", rawUrl) { } /// - /// GitHub provides several timeline resources in [Atom](http://en.wikipedia.org/wiki/Atom_(standard)) format. The Feeds API lists all the feeds available to the authenticated user:* **Timeline**: The GitHub global public timeline* **User**: The public timeline for any user, using `uri_template`. For more information, see "[Hypermedia](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#hypermedia)."* **Current user public**: The public timeline for the authenticated user* **Current user**: The private timeline for the authenticated user* **Current user actor**: The private timeline for activity created by the authenticated user* **Current user organizations**: The private timeline for the organizations the authenticated user is a member of.* **Security advisories**: A collection of public announcements that provide information about security-related vulnerabilities in software on GitHub.**Note**: Private feeds are only returned when [authenticating via Basic Auth](https://docs.github.com/rest/overview/other-authentication-methods#basic-authentication) since current feed URIs use the older, non revocable auth tokens. + /// Lists the feeds available to the authenticated user. The response provides a URL for each feed. You can then get a specific feed by sending a request to one of the feed URLs.* **Timeline**: The GitHub global public timeline* **User**: The public timeline for any user, using `uri_template`. For more information, see "[Hypermedia](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#hypermedia)."* **Current user public**: The public timeline for the authenticated user* **Current user**: The private timeline for the authenticated user* **Current user actor**: The private timeline for activity created by the authenticated user* **Current user organizations**: The private timeline for the organizations the authenticated user is a member of.* **Security advisories**: A collection of public announcements that provide information about security-related vulnerabilities in software on GitHub.By default, timeline resources are returned in JSON. You can specify the `application/atom+xml` type in the `Accept` header to return timeline resources in Atom format. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)."**Note**: Private feeds are only returned when [authenticating via Basic Auth](https://docs.github.com/rest/overview/other-authentication-methods#basic-authentication) since current feed URIs use the older, non revocable auth tokens. /// API method documentation /// /// A @@ -45,7 +45,7 @@ public class FeedsRequestBuilder : BaseRequestBuilder { return await RequestAdapter.SendAsync(requestInfo, Feed.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); } /// - /// GitHub provides several timeline resources in [Atom](http://en.wikipedia.org/wiki/Atom_(standard)) format. The Feeds API lists all the feeds available to the authenticated user:* **Timeline**: The GitHub global public timeline* **User**: The public timeline for any user, using `uri_template`. For more information, see "[Hypermedia](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#hypermedia)."* **Current user public**: The public timeline for the authenticated user* **Current user**: The private timeline for the authenticated user* **Current user actor**: The private timeline for activity created by the authenticated user* **Current user organizations**: The private timeline for the organizations the authenticated user is a member of.* **Security advisories**: A collection of public announcements that provide information about security-related vulnerabilities in software on GitHub.**Note**: Private feeds are only returned when [authenticating via Basic Auth](https://docs.github.com/rest/overview/other-authentication-methods#basic-authentication) since current feed URIs use the older, non revocable auth tokens. + /// Lists the feeds available to the authenticated user. The response provides a URL for each feed. You can then get a specific feed by sending a request to one of the feed URLs.* **Timeline**: The GitHub global public timeline* **User**: The public timeline for any user, using `uri_template`. For more information, see "[Hypermedia](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#hypermedia)."* **Current user public**: The public timeline for the authenticated user* **Current user**: The private timeline for the authenticated user* **Current user actor**: The private timeline for activity created by the authenticated user* **Current user organizations**: The private timeline for the organizations the authenticated user is a member of.* **Security advisories**: A collection of public announcements that provide information about security-related vulnerabilities in software on GitHub.By default, timeline resources are returned in JSON. You can specify the `application/atom+xml` type in the `Accept` header to return timeline resources in Atom format. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)."**Note**: Private feeds are only returned when [authenticating via Basic Auth](https://docs.github.com/rest/overview/other-authentication-methods#basic-authentication) since current feed URIs use the older, non revocable auth tokens. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/GitHub/Models/CheckRun.cs b/src/GitHub/Models/CheckRun.cs index 9a3f9df1..6bd6cae0 100644 --- a/src/GitHub/Models/CheckRun.cs +++ b/src/GitHub/Models/CheckRun.cs @@ -107,7 +107,7 @@ public class CheckRun : IAdditionalDataHolder, IParsable { #endif /// The started_at property public DateTimeOffset? StartedAt { get; set; } - /// The phase of the lifecycle that the check is currently in. + /// The phase of the lifecycle that the check is currently in. Statuses of waiting, requested, and pending are reserved for GitHub Actions check runs. public CheckRun_status? Status { get; set; } /// The url property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER diff --git a/src/GitHub/Models/CheckRun_status.cs b/src/GitHub/Models/CheckRun_status.cs index c4ea46c2..38c839ef 100644 --- a/src/GitHub/Models/CheckRun_status.cs +++ b/src/GitHub/Models/CheckRun_status.cs @@ -2,7 +2,7 @@ using System.Runtime.Serialization; using System; namespace GitHub.Models { - /// The phase of the lifecycle that the check is currently in. + /// The phase of the lifecycle that the check is currently in. Statuses of waiting, requested, and pending are reserved for GitHub Actions check runs. public enum CheckRun_status { [EnumMember(Value = "queued")] Queued, @@ -10,5 +10,11 @@ public enum CheckRun_status { In_progress, [EnumMember(Value = "completed")] Completed, + [EnumMember(Value = "waiting")] + Waiting, + [EnumMember(Value = "requested")] + Requested, + [EnumMember(Value = "pending")] + Pending, } } diff --git a/src/GitHub/Models/CheckSuite.cs b/src/GitHub/Models/CheckSuite.cs index 35af9099..61c208f7 100644 --- a/src/GitHub/Models/CheckSuite.cs +++ b/src/GitHub/Models/CheckSuite.cs @@ -103,7 +103,7 @@ public class CheckSuite : IAdditionalDataHolder, IParsable { public bool? Rerequestable { get; set; } /// The runs_rerequestable property public bool? RunsRerequestable { get; set; } - /// The status property + /// The phase of the lifecycle that the check suite is currently in. Statuses of waiting, requested, and pending are reserved for GitHub Actions check suites. public CheckSuite_status? Status { get; set; } /// The updated_at property public DateTimeOffset? UpdatedAt { get; set; } diff --git a/src/GitHub/Models/CheckSuite_status.cs b/src/GitHub/Models/CheckSuite_status.cs index ca63b8bf..0e0a594a 100644 --- a/src/GitHub/Models/CheckSuite_status.cs +++ b/src/GitHub/Models/CheckSuite_status.cs @@ -2,6 +2,7 @@ using System.Runtime.Serialization; using System; namespace GitHub.Models { + /// The phase of the lifecycle that the check suite is currently in. Statuses of waiting, requested, and pending are reserved for GitHub Actions check suites. public enum CheckSuite_status { [EnumMember(Value = "queued")] Queued, @@ -9,5 +10,11 @@ public enum CheckSuite_status { In_progress, [EnumMember(Value = "completed")] Completed, + [EnumMember(Value = "waiting")] + Waiting, + [EnumMember(Value = "requested")] + Requested, + [EnumMember(Value = "pending")] + Pending, } } diff --git a/src/GitHub/Models/Job_status.cs b/src/GitHub/Models/Job_status.cs index fd2721c0..31e8c481 100644 --- a/src/GitHub/Models/Job_status.cs +++ b/src/GitHub/Models/Job_status.cs @@ -12,5 +12,9 @@ public enum Job_status { Completed, [EnumMember(Value = "waiting")] Waiting, + [EnumMember(Value = "requested")] + Requested, + [EnumMember(Value = "pending")] + Pending, } } diff --git a/src/GitHub/Repos/Item/Item/Actions/Runs/RunsRequestBuilder.cs b/src/GitHub/Repos/Item/Item/Actions/Runs/RunsRequestBuilder.cs index 0ee71b1d..119f0a7f 100644 --- a/src/GitHub/Repos/Item/Item/Actions/Runs/RunsRequestBuilder.cs +++ b/src/GitHub/Repos/Item/Item/Actions/Runs/RunsRequestBuilder.cs @@ -136,7 +136,7 @@ public class RunsRequestBuilderGetQueryParameters { /// 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)." [QueryParameter("per_page")] public int? PerPage { get; set; } - /// Returns workflow runs with the check run `status` or `conclusion` that you specify. For example, a conclusion can be `success` or a status can be `in_progress`. Only GitHub can set a status of `waiting` or `requested`. + /// Returns workflow runs with the check run `status` or `conclusion` that you specify. For example, a conclusion can be `success` or a status can be `in_progress`. Only GitHub Actions can set a status of `waiting`, `pending`, or `requested`. [QueryParameter("status")] public GetStatusQueryParameterType? Status { get; set; } } diff --git a/src/GitHub/Repos/Item/Item/Actions/Workflows/Item/Runs/RunsRequestBuilder.cs b/src/GitHub/Repos/Item/Item/Actions/Workflows/Item/Runs/RunsRequestBuilder.cs index 670874a8..ea4b8e31 100644 --- a/src/GitHub/Repos/Item/Item/Actions/Workflows/Item/Runs/RunsRequestBuilder.cs +++ b/src/GitHub/Repos/Item/Item/Actions/Workflows/Item/Runs/RunsRequestBuilder.cs @@ -127,7 +127,7 @@ public class RunsRequestBuilderGetQueryParameters { /// 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)." [QueryParameter("per_page")] public int? PerPage { get; set; } - /// Returns workflow runs with the check run `status` or `conclusion` that you specify. For example, a conclusion can be `success` or a status can be `in_progress`. Only GitHub can set a status of `waiting` or `requested`. + /// Returns workflow runs with the check run `status` or `conclusion` that you specify. For example, a conclusion can be `success` or a status can be `in_progress`. Only GitHub Actions can set a status of `waiting`, `pending`, or `requested`. [QueryParameter("status")] public GetStatusQueryParameterType? Status { get; set; } } diff --git a/src/GitHub/Users/Item/Hovercard/HovercardRequestBuilder.cs b/src/GitHub/Users/Item/Hovercard/HovercardRequestBuilder.cs index f8f349e1..b3f511c6 100644 --- a/src/GitHub/Users/Item/Hovercard/HovercardRequestBuilder.cs +++ b/src/GitHub/Users/Item/Hovercard/HovercardRequestBuilder.cs @@ -28,7 +28,7 @@ public class HovercardRequestBuilder : BaseRequestBuilder { public HovercardRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{username}/hovercard{?subject_id*,subject_type*}", rawUrl) { } /// - /// Provides hovercard information. You can find out more about someone in relation to their pull requests, issues, repositories, and organizations.The `subject_type` and `subject_id` parameters provide context for the person's hovercard, which returns more information than without the parameters. For example, if you wanted to find out more about `octocat` who owns the `Spoon-Knife` repository via cURL, it would look like this:```shell curl -u username:token https://api.github.com/users/octocat/hovercard?subject_type=repository&subject_id=1300192```OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + /// Provides hovercard information. You can find out more about someone in relation to their pull requests, issues, repositories, and organizations. The `subject_type` and `subject_id` parameters provide context for the person's hovercard, which returns more information than without the parameters. For example, if you wanted to find out more about `octocat` who owns the `Spoon-Knife` repository, you would use a `subject_type` value of `repository` and a `subject_id` value of `1300192` (the ID of the `Spoon-Knife` repository).OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. /// API method documentation /// /// A @@ -51,7 +51,7 @@ public class HovercardRequestBuilder : BaseRequestBuilder { return await RequestAdapter.SendAsync(requestInfo, GitHub.Models.Hovercard.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Provides hovercard information. You can find out more about someone in relation to their pull requests, issues, repositories, and organizations.The `subject_type` and `subject_id` parameters provide context for the person's hovercard, which returns more information than without the parameters. For example, if you wanted to find out more about `octocat` who owns the `Spoon-Knife` repository via cURL, it would look like this:```shell curl -u username:token https://api.github.com/users/octocat/hovercard?subject_type=repository&subject_id=1300192```OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + /// Provides hovercard information. You can find out more about someone in relation to their pull requests, issues, repositories, and organizations. The `subject_type` and `subject_id` parameters provide context for the person's hovercard, which returns more information than without the parameters. For example, if you wanted to find out more about `octocat` who owns the `Spoon-Knife` repository, you would use a `subject_type` value of `repository` and a `subject_id` value of `1300192` (the ID of the `Spoon-Knife` repository).OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -76,7 +76,7 @@ public class HovercardRequestBuilder : BaseRequestBuilder { return new HovercardRequestBuilder(rawUrl, RequestAdapter); } /// - /// Provides hovercard information. You can find out more about someone in relation to their pull requests, issues, repositories, and organizations.The `subject_type` and `subject_id` parameters provide context for the person's hovercard, which returns more information than without the parameters. For example, if you wanted to find out more about `octocat` who owns the `Spoon-Knife` repository via cURL, it would look like this:```shell curl -u username:token https://api.github.com/users/octocat/hovercard?subject_type=repository&subject_id=1300192```OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + /// Provides hovercard information. You can find out more about someone in relation to their pull requests, issues, repositories, and organizations. The `subject_type` and `subject_id` parameters provide context for the person's hovercard, which returns more information than without the parameters. For example, if you wanted to find out more about `octocat` who owns the `Spoon-Knife` repository, you would use a `subject_type` value of `repository` and a `subject_id` value of `1300192` (the ID of the `Spoon-Knife` repository).OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. /// public class HovercardRequestBuilderGetQueryParameters { /// Uses the ID for the `subject_type` you specified. **Required** when using `subject_type`. diff --git a/src/GitHub/kiota-lock.json b/src/GitHub/kiota-lock.json index 10251dee..5568de97 100644 --- a/src/GitHub/kiota-lock.json +++ b/src/GitHub/kiota-lock.json @@ -1,5 +1,5 @@ { - "descriptionHash": "58EC2F160FFD5574242F7A6CA2B7490F71BCCB733BDE83D3C4F45E78BBE173C1F5709707046D57237BB1BB5CAA0BA8DDC233C230D609A2EA76202F3D94F5F1A9", + "descriptionHash": "DA6E75F17989092BF227D8F9183FC5A5F9B42B6C1168C39791EC5B3139F8746ABF842849DA6BA11C182C2EBE67F95FCA9B2A028275F16F6C4453ADFB0EE36A95", "descriptionLocation": "../../../source-generator/schemas/downloaded.json", "lockFileVersion": "1.0.0", "kiotaVersion": "1.12.0",