-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
GHES 3.13: Changes in generated code (#26)
* New updates to generated code * New updates to generated code * New updates to generated code
- Loading branch information
1 parent
ed0a505
commit 7143e9d
Showing
15 changed files
with
75 additions
and
32 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,7 +6,6 @@ on: | |
push: | ||
branches: | ||
- 3.13 | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
|
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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -31,7 +31,7 @@ public EventsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : bas | |
{ | ||
} | ||
/// <summary> | ||
/// We delay the public events feed by five minutes, which means the most recent event returned by the public events API actually occurred at least five minutes ago. | ||
/// > [!NOTE]> This API is not built to serve real-time use cases. Depending on the time of day, event latency can be anywhere from 30s to 6h. | ||
/// API method documentation <see href="https://docs.github.com/[email protected]/rest/activity/events#list-public-events" /> | ||
/// </summary> | ||
/// <returns>A List<Event></returns> | ||
|
@@ -58,7 +58,7 @@ public async Task<List<Event>> GetAsync(Action<RequestConfiguration<EventsReques | |
return collectionResult?.ToList(); | ||
} | ||
/// <summary> | ||
/// We delay the public events feed by five minutes, which means the most recent event returned by the public events API actually occurred at least five minutes ago. | ||
/// > [!NOTE]> This API is not built to serve real-time use cases. Depending on the time of day, event latency can be anywhere from 30s to 6h. | ||
/// </summary> | ||
/// <returns>A <see cref="RequestInformation"/></returns> | ||
/// <param name="requestConfiguration">Configuration for the request such as headers, query parameters, and middleware options.</param> | ||
|
@@ -86,7 +86,7 @@ public EventsRequestBuilder WithUrl(string rawUrl) | |
return new EventsRequestBuilder(rawUrl, RequestAdapter); | ||
} | ||
/// <summary> | ||
/// We delay the public events feed by five minutes, which means the most recent event returned by the public events API actually occurred at least five minutes ago. | ||
/// > [!NOTE]> This API is not built to serve real-time use cases. Depending on the time of day, event latency can be anywhere from 30s to 6h. | ||
/// </summary> | ||
public class EventsRequestBuilderGetQueryParameters | ||
{ | ||
|
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -31,7 +31,7 @@ public EventsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : bas | |
{ | ||
} | ||
/// <summary> | ||
/// List public events for a network of repositories | ||
/// > [!NOTE]> This API is not built to serve real-time use cases. Depending on the time of day, event latency can be anywhere from 30s to 6h. | ||
/// API method documentation <see href="https://docs.github.com/[email protected]/rest/activity/events#list-public-events-for-a-network-of-repositories" /> | ||
/// </summary> | ||
/// <returns>A List<Event></returns> | ||
|
@@ -57,6 +57,9 @@ public async Task<List<Event>> GetAsync(Action<RequestConfiguration<EventsReques | |
var collectionResult = await RequestAdapter.SendCollectionAsync<Event>(requestInfo, Event.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); | ||
return collectionResult?.ToList(); | ||
} | ||
/// <summary> | ||
/// > [!NOTE]> This API is not built to serve real-time use cases. Depending on the time of day, event latency can be anywhere from 30s to 6h. | ||
/// </summary> | ||
/// <returns>A <see cref="RequestInformation"/></returns> | ||
/// <param name="requestConfiguration">Configuration for the request such as headers, query parameters, and middleware options.</param> | ||
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER | ||
|
@@ -83,7 +86,7 @@ public EventsRequestBuilder WithUrl(string rawUrl) | |
return new EventsRequestBuilder(rawUrl, RequestAdapter); | ||
} | ||
/// <summary> | ||
/// List public events for a network of repositories | ||
/// > [!NOTE]> This API is not built to serve real-time use cases. Depending on the time of day, event latency can be anywhere from 30s to 6h. | ||
/// </summary> | ||
public class EventsRequestBuilderGetQueryParameters | ||
{ | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -31,7 +31,7 @@ public EventsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : bas | |
{ | ||
} | ||
/// <summary> | ||
/// List public organization events | ||
/// > [!NOTE]> This API is not built to serve real-time use cases. Depending on the time of day, event latency can be anywhere from 30s to 6h. | ||
/// API method documentation <see href="https://docs.github.com/[email protected]/rest/activity/events#list-public-organization-events" /> | ||
/// </summary> | ||
/// <returns>A List<Event></returns> | ||
|
@@ -50,6 +50,9 @@ public async Task<List<Event>> GetAsync(Action<RequestConfiguration<EventsReques | |
var collectionResult = await RequestAdapter.SendCollectionAsync<Event>(requestInfo, Event.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); | ||
return collectionResult?.ToList(); | ||
} | ||
/// <summary> | ||
/// > [!NOTE]> This API is not built to serve real-time use cases. Depending on the time of day, event latency can be anywhere from 30s to 6h. | ||
/// </summary> | ||
/// <returns>A <see cref="RequestInformation"/></returns> | ||
/// <param name="requestConfiguration">Configuration for the request such as headers, query parameters, and middleware options.</param> | ||
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER | ||
|
@@ -76,7 +79,7 @@ public EventsRequestBuilder WithUrl(string rawUrl) | |
return new EventsRequestBuilder(rawUrl, RequestAdapter); | ||
} | ||
/// <summary> | ||
/// List public organization events | ||
/// > [!NOTE]> This API is not built to serve real-time use cases. Depending on the time of day, event latency can be anywhere from 30s to 6h. | ||
/// </summary> | ||
public class EventsRequestBuilderGetQueryParameters | ||
{ | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -43,7 +43,7 @@ public EventsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : bas | |
{ | ||
} | ||
/// <summary> | ||
/// If you are authenticated as the given user, you will see your private events. Otherwise, you'll only see public events. | ||
/// If you are authenticated as the given user, you will see your private events. Otherwise, you'll only see public events.> [!NOTE]> This API is not built to serve real-time use cases. Depending on the time of day, event latency can be anywhere from 30s to 6h. | ||
/// API method documentation <see href="https://docs.github.com/[email protected]/rest/activity/events#list-events-for-the-authenticated-user" /> | ||
/// </summary> | ||
/// <returns>A List<Event></returns> | ||
|
@@ -63,7 +63,7 @@ public async Task<List<Event>> GetAsync(Action<RequestConfiguration<EventsReques | |
return collectionResult?.ToList(); | ||
} | ||
/// <summary> | ||
/// If you are authenticated as the given user, you will see your private events. Otherwise, you'll only see public events. | ||
/// If you are authenticated as the given user, you will see your private events. Otherwise, you'll only see public events.> [!NOTE]> This API is not built to serve real-time use cases. Depending on the time of day, event latency can be anywhere from 30s to 6h. | ||
/// </summary> | ||
/// <returns>A <see cref="RequestInformation"/></returns> | ||
/// <param name="requestConfiguration">Configuration for the request such as headers, query parameters, and middleware options.</param> | ||
|
@@ -91,7 +91,7 @@ public EventsRequestBuilder WithUrl(string rawUrl) | |
return new EventsRequestBuilder(rawUrl, RequestAdapter); | ||
} | ||
/// <summary> | ||
/// If you are authenticated as the given user, you will see your private events. Otherwise, you'll only see public events. | ||
/// If you are authenticated as the given user, you will see your private events. Otherwise, you'll only see public events.> [!NOTE]> This API is not built to serve real-time use cases. Depending on the time of day, event latency can be anywhere from 30s to 6h. | ||
/// </summary> | ||
public class EventsRequestBuilderGetQueryParameters | ||
{ | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -31,7 +31,7 @@ public WithOrgItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) | |
{ | ||
} | ||
/// <summary> | ||
/// This is the user's organization dashboard. You must be authenticated as the user to view this. | ||
/// This is the user's organization dashboard. You must be authenticated as the user to view this.> [!NOTE]> This API is not built to serve real-time use cases. Depending on the time of day, event latency can be anywhere from 30s to 6h. | ||
/// API method documentation <see href="https://docs.github.com/[email protected]/rest/activity/events#list-organization-events-for-the-authenticated-user" /> | ||
/// </summary> | ||
/// <returns>A List<Event></returns> | ||
|
@@ -51,7 +51,7 @@ public async Task<List<Event>> GetAsync(Action<RequestConfiguration<WithOrgItemR | |
return collectionResult?.ToList(); | ||
} | ||
/// <summary> | ||
/// This is the user's organization dashboard. You must be authenticated as the user to view this. | ||
/// This is the user's organization dashboard. You must be authenticated as the user to view this.> [!NOTE]> This API is not built to serve real-time use cases. Depending on the time of day, event latency can be anywhere from 30s to 6h. | ||
/// </summary> | ||
/// <returns>A <see cref="RequestInformation"/></returns> | ||
/// <param name="requestConfiguration">Configuration for the request such as headers, query parameters, and middleware options.</param> | ||
|
@@ -79,7 +79,7 @@ public WithOrgItemRequestBuilder WithUrl(string rawUrl) | |
return new WithOrgItemRequestBuilder(rawUrl, RequestAdapter); | ||
} | ||
/// <summary> | ||
/// This is the user's organization dashboard. You must be authenticated as the user to view this. | ||
/// This is the user's organization dashboard. You must be authenticated as the user to view this.> [!NOTE]> This API is not built to serve real-time use cases. Depending on the time of day, event latency can be anywhere from 30s to 6h. | ||
/// </summary> | ||
public class WithOrgItemRequestBuilderGetQueryParameters | ||
{ | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -31,7 +31,7 @@ public PublicRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : bas | |
{ | ||
} | ||
/// <summary> | ||
/// List public events for a user | ||
/// > [!NOTE]> This API is not built to serve real-time use cases. Depending on the time of day, event latency can be anywhere from 30s to 6h. | ||
/// API method documentation <see href="https://docs.github.com/[email protected]/rest/activity/events#list-public-events-for-a-user" /> | ||
/// </summary> | ||
/// <returns>A List<Event></returns> | ||
|
@@ -50,6 +50,9 @@ public async Task<List<Event>> GetAsync(Action<RequestConfiguration<PublicReques | |
var collectionResult = await RequestAdapter.SendCollectionAsync<Event>(requestInfo, Event.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); | ||
return collectionResult?.ToList(); | ||
} | ||
/// <summary> | ||
/// > [!NOTE]> This API is not built to serve real-time use cases. Depending on the time of day, event latency can be anywhere from 30s to 6h. | ||
/// </summary> | ||
/// <returns>A <see cref="RequestInformation"/></returns> | ||
/// <param name="requestConfiguration">Configuration for the request such as headers, query parameters, and middleware options.</param> | ||
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER | ||
|
@@ -76,7 +79,7 @@ public PublicRequestBuilder WithUrl(string rawUrl) | |
return new PublicRequestBuilder(rawUrl, RequestAdapter); | ||
} | ||
/// <summary> | ||
/// List public events for a user | ||
/// > [!NOTE]> This API is not built to serve real-time use cases. Depending on the time of day, event latency can be anywhere from 30s to 6h. | ||
/// </summary> | ||
public class PublicRequestBuilderGetQueryParameters | ||
{ | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -31,7 +31,7 @@ public PublicRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : bas | |
{ | ||
} | ||
/// <summary> | ||
/// List public events received by a user | ||
/// > [!NOTE]> This API is not built to serve real-time use cases. Depending on the time of day, event latency can be anywhere from 30s to 6h. | ||
/// API method documentation <see href="https://docs.github.com/[email protected]/rest/activity/events#list-public-events-received-by-a-user" /> | ||
/// </summary> | ||
/// <returns>A List<Event></returns> | ||
|
@@ -50,6 +50,9 @@ public async Task<List<Event>> GetAsync(Action<RequestConfiguration<PublicReques | |
var collectionResult = await RequestAdapter.SendCollectionAsync<Event>(requestInfo, Event.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); | ||
return collectionResult?.ToList(); | ||
} | ||
/// <summary> | ||
/// > [!NOTE]> This API is not built to serve real-time use cases. Depending on the time of day, event latency can be anywhere from 30s to 6h. | ||
/// </summary> | ||
/// <returns>A <see cref="RequestInformation"/></returns> | ||
/// <param name="requestConfiguration">Configuration for the request such as headers, query parameters, and middleware options.</param> | ||
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER | ||
|
@@ -76,7 +79,7 @@ public PublicRequestBuilder WithUrl(string rawUrl) | |
return new PublicRequestBuilder(rawUrl, RequestAdapter); | ||
} | ||
/// <summary> | ||
/// List public events received by a user | ||
/// > [!NOTE]> This API is not built to serve real-time use cases. Depending on the time of day, event latency can be anywhere from 30s to 6h. | ||
/// </summary> | ||
public class PublicRequestBuilderGetQueryParameters | ||
{ | ||
|
Oops, something went wrong.