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

feat:Update commentId parameter type from int to long in GitHub API clients #34

Merged
merged 1 commit into from
Sep 13, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
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
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@ public partial class GistsClient
partial void PrepareGistsDeleteCommentArguments(
global::System.Net.Http.HttpClient httpClient,
ref string gistId,
ref int commentId);
ref long commentId);
partial void PrepareGistsDeleteCommentRequest(
global::System.Net.Http.HttpClient httpClient,
global::System.Net.Http.HttpRequestMessage httpRequestMessage,
string gistId,
int commentId);
long commentId);
partial void ProcessGistsDeleteCommentResponse(
global::System.Net.Http.HttpClient httpClient,
global::System.Net.Http.HttpResponseMessage httpResponseMessage);
Expand All @@ -32,7 +32,7 @@ partial void ProcessGistsDeleteCommentResponseContent(
/// <exception cref="global::System.InvalidOperationException"></exception>
public async global::System.Threading.Tasks.Task<global::GitHub.BasicError> GistsDeleteCommentAsync(
string gistId,
int commentId,
long commentId,
global::System.Threading.CancellationToken cancellationToken = default)
{
PrepareArguments(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@ public partial class GistsClient
partial void PrepareGistsGetCommentArguments(
global::System.Net.Http.HttpClient httpClient,
ref string gistId,
ref int commentId);
ref long commentId);
partial void PrepareGistsGetCommentRequest(
global::System.Net.Http.HttpClient httpClient,
global::System.Net.Http.HttpRequestMessage httpRequestMessage,
string gistId,
int commentId);
long commentId);
partial void ProcessGistsGetCommentResponse(
global::System.Net.Http.HttpClient httpClient,
global::System.Net.Http.HttpResponseMessage httpResponseMessage);
Expand All @@ -36,7 +36,7 @@ partial void ProcessGistsGetCommentResponseContent(
/// <exception cref="global::System.InvalidOperationException"></exception>
public async global::System.Threading.Tasks.Task<global::GitHub.GistComment> GistsGetCommentAsync(
string gistId,
int commentId,
long commentId,
global::System.Threading.CancellationToken cancellationToken = default)
{
PrepareArguments(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,13 @@ public partial class GistsClient
partial void PrepareGistsUpdateCommentArguments(
global::System.Net.Http.HttpClient httpClient,
ref string gistId,
ref int commentId,
ref long commentId,
global::GitHub.GistsUpdateCommentRequest request);
partial void PrepareGistsUpdateCommentRequest(
global::System.Net.Http.HttpClient httpClient,
global::System.Net.Http.HttpRequestMessage httpRequestMessage,
string gistId,
int commentId,
long commentId,
global::GitHub.GistsUpdateCommentRequest request);
partial void ProcessGistsUpdateCommentResponse(
global::System.Net.Http.HttpClient httpClient,
Expand All @@ -39,7 +39,7 @@ partial void ProcessGistsUpdateCommentResponseContent(
/// <exception cref="global::System.InvalidOperationException"></exception>
public async global::System.Threading.Tasks.Task<global::GitHub.GistComment> GistsUpdateCommentAsync(
string gistId,
int commentId,
long commentId,
global::GitHub.GistsUpdateCommentRequest request,
global::System.Threading.CancellationToken cancellationToken = default)
{
Expand Down Expand Up @@ -127,7 +127,7 @@ partial void ProcessGistsUpdateCommentResponseContent(
/// <exception cref="global::System.InvalidOperationException"></exception>
public async global::System.Threading.Tasks.Task<global::GitHub.GistComment> GistsUpdateCommentAsync(
string gistId,
int commentId,
long commentId,
string body,
global::System.Threading.CancellationToken cancellationToken = default)
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,13 @@ partial void PrepareIssuesDeleteCommentArguments(
global::System.Net.Http.HttpClient httpClient,
ref string owner,
ref string repo,
ref int commentId);
ref long commentId);
partial void PrepareIssuesDeleteCommentRequest(
global::System.Net.Http.HttpClient httpClient,
global::System.Net.Http.HttpRequestMessage httpRequestMessage,
string owner,
string repo,
int commentId);
long commentId);
partial void ProcessIssuesDeleteCommentResponse(
global::System.Net.Http.HttpClient httpClient,
global::System.Net.Http.HttpResponseMessage httpResponseMessage);
Expand All @@ -32,7 +32,7 @@ partial void ProcessIssuesDeleteCommentResponse(
public async global::System.Threading.Tasks.Task IssuesDeleteCommentAsync(
string owner,
string repo,
int commentId,
long commentId,
global::System.Threading.CancellationToken cancellationToken = default)
{
PrepareArguments(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,13 @@ partial void PrepareIssuesGetCommentArguments(
global::System.Net.Http.HttpClient httpClient,
ref string owner,
ref string repo,
ref int commentId);
ref long commentId);
partial void PrepareIssuesGetCommentRequest(
global::System.Net.Http.HttpClient httpClient,
global::System.Net.Http.HttpRequestMessage httpRequestMessage,
string owner,
string repo,
int commentId);
long commentId);
partial void ProcessIssuesGetCommentResponse(
global::System.Net.Http.HttpClient httpClient,
global::System.Net.Http.HttpResponseMessage httpResponseMessage);
Expand All @@ -42,7 +42,7 @@ partial void ProcessIssuesGetCommentResponseContent(
public async global::System.Threading.Tasks.Task<global::GitHub.IssueComment> IssuesGetCommentAsync(
string owner,
string repo,
int commentId,
long commentId,
global::System.Threading.CancellationToken cancellationToken = default)
{
PrepareArguments(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,14 @@ partial void PrepareIssuesUpdateCommentArguments(
global::System.Net.Http.HttpClient httpClient,
ref string owner,
ref string repo,
ref int commentId,
ref long commentId,
global::GitHub.IssuesUpdateCommentRequest request);
partial void PrepareIssuesUpdateCommentRequest(
global::System.Net.Http.HttpClient httpClient,
global::System.Net.Http.HttpRequestMessage httpRequestMessage,
string owner,
string repo,
int commentId,
long commentId,
global::GitHub.IssuesUpdateCommentRequest request);
partial void ProcessIssuesUpdateCommentResponse(
global::System.Net.Http.HttpClient httpClient,
Expand Down Expand Up @@ -45,7 +45,7 @@ partial void ProcessIssuesUpdateCommentResponseContent(
public async global::System.Threading.Tasks.Task<global::GitHub.IssueComment> IssuesUpdateCommentAsync(
string owner,
string repo,
int commentId,
long commentId,
global::GitHub.IssuesUpdateCommentRequest request,
global::System.Threading.CancellationToken cancellationToken = default)
{
Expand Down Expand Up @@ -138,7 +138,7 @@ partial void ProcessIssuesUpdateCommentResponseContent(
public async global::System.Threading.Tasks.Task<global::GitHub.IssueComment> IssuesUpdateCommentAsync(
string owner,
string repo,
int commentId,
long commentId,
string body,
global::System.Threading.CancellationToken cancellationToken = default)
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,15 @@ partial void PreparePullsCreateReplyForReviewCommentArguments(
ref string owner,
ref string repo,
ref int pullNumber,
ref int commentId,
ref long commentId,
global::GitHub.PullsCreateReplyForReviewCommentRequest request);
partial void PreparePullsCreateReplyForReviewCommentRequest(
global::System.Net.Http.HttpClient httpClient,
global::System.Net.Http.HttpRequestMessage httpRequestMessage,
string owner,
string repo,
int pullNumber,
int commentId,
long commentId,
global::GitHub.PullsCreateReplyForReviewCommentRequest request);
partial void ProcessPullsCreateReplyForReviewCommentResponse(
global::System.Net.Http.HttpClient httpClient,
Expand Down Expand Up @@ -51,7 +51,7 @@ partial void ProcessPullsCreateReplyForReviewCommentResponseContent(
string owner,
string repo,
int pullNumber,
int commentId,
long commentId,
global::GitHub.PullsCreateReplyForReviewCommentRequest request,
global::System.Threading.CancellationToken cancellationToken = default)
{
Expand Down Expand Up @@ -150,7 +150,7 @@ partial void ProcessPullsCreateReplyForReviewCommentResponseContent(
string owner,
string repo,
int pullNumber,
int commentId,
long commentId,
string body,
global::System.Threading.CancellationToken cancellationToken = default)
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,13 @@ partial void PreparePullsDeleteReviewCommentArguments(
global::System.Net.Http.HttpClient httpClient,
ref string owner,
ref string repo,
ref int commentId);
ref long commentId);
partial void PreparePullsDeleteReviewCommentRequest(
global::System.Net.Http.HttpClient httpClient,
global::System.Net.Http.HttpRequestMessage httpRequestMessage,
string owner,
string repo,
int commentId);
long commentId);
partial void ProcessPullsDeleteReviewCommentResponse(
global::System.Net.Http.HttpClient httpClient,
global::System.Net.Http.HttpResponseMessage httpResponseMessage);
Expand All @@ -37,7 +37,7 @@ partial void ProcessPullsDeleteReviewCommentResponseContent(
public async global::System.Threading.Tasks.Task<global::GitHub.BasicError> PullsDeleteReviewCommentAsync(
string owner,
string repo,
int commentId,
long commentId,
global::System.Threading.CancellationToken cancellationToken = default)
{
PrepareArguments(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,13 @@ partial void PreparePullsGetReviewCommentArguments(
global::System.Net.Http.HttpClient httpClient,
ref string owner,
ref string repo,
ref int commentId);
ref long commentId);
partial void PreparePullsGetReviewCommentRequest(
global::System.Net.Http.HttpClient httpClient,
global::System.Net.Http.HttpRequestMessage httpRequestMessage,
string owner,
string repo,
int commentId);
long commentId);
partial void ProcessPullsGetReviewCommentResponse(
global::System.Net.Http.HttpClient httpClient,
global::System.Net.Http.HttpResponseMessage httpResponseMessage);
Expand All @@ -42,7 +42,7 @@ partial void ProcessPullsGetReviewCommentResponseContent(
public async global::System.Threading.Tasks.Task<global::GitHub.PullRequestReviewComment> PullsGetReviewCommentAsync(
string owner,
string repo,
int commentId,
long commentId,
global::System.Threading.CancellationToken cancellationToken = default)
{
PrepareArguments(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,14 @@ partial void PreparePullsUpdateReviewCommentArguments(
global::System.Net.Http.HttpClient httpClient,
ref string owner,
ref string repo,
ref int commentId,
ref long commentId,
global::GitHub.PullsUpdateReviewCommentRequest request);
partial void PreparePullsUpdateReviewCommentRequest(
global::System.Net.Http.HttpClient httpClient,
global::System.Net.Http.HttpRequestMessage httpRequestMessage,
string owner,
string repo,
int commentId,
long commentId,
global::GitHub.PullsUpdateReviewCommentRequest request);
partial void ProcessPullsUpdateReviewCommentResponse(
global::System.Net.Http.HttpClient httpClient,
Expand Down Expand Up @@ -45,7 +45,7 @@ partial void ProcessPullsUpdateReviewCommentResponseContent(
public async global::System.Threading.Tasks.Task<global::GitHub.PullRequestReviewComment> PullsUpdateReviewCommentAsync(
string owner,
string repo,
int commentId,
long commentId,
global::GitHub.PullsUpdateReviewCommentRequest request,
global::System.Threading.CancellationToken cancellationToken = default)
{
Expand Down Expand Up @@ -138,7 +138,7 @@ partial void ProcessPullsUpdateReviewCommentResponseContent(
public async global::System.Threading.Tasks.Task<global::GitHub.PullRequestReviewComment> PullsUpdateReviewCommentAsync(
string owner,
string repo,
int commentId,
long commentId,
string body,
global::System.Threading.CancellationToken cancellationToken = default)
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,14 @@ partial void PrepareReactionsCreateForCommitCommentArguments(
global::System.Net.Http.HttpClient httpClient,
ref string owner,
ref string repo,
ref int commentId,
ref long commentId,
global::GitHub.ReactionsCreateForCommitCommentRequest request);
partial void PrepareReactionsCreateForCommitCommentRequest(
global::System.Net.Http.HttpClient httpClient,
global::System.Net.Http.HttpRequestMessage httpRequestMessage,
string owner,
string repo,
int commentId,
long commentId,
global::GitHub.ReactionsCreateForCommitCommentRequest request);
partial void ProcessReactionsCreateForCommitCommentResponse(
global::System.Net.Http.HttpClient httpClient,
Expand All @@ -40,7 +40,7 @@ partial void ProcessReactionsCreateForCommitCommentResponseContent(
public async global::System.Threading.Tasks.Task<global::GitHub.Reaction> ReactionsCreateForCommitCommentAsync(
string owner,
string repo,
int commentId,
long commentId,
global::GitHub.ReactionsCreateForCommitCommentRequest request,
global::System.Threading.CancellationToken cancellationToken = default)
{
Expand Down Expand Up @@ -128,7 +128,7 @@ partial void ProcessReactionsCreateForCommitCommentResponseContent(
public async global::System.Threading.Tasks.Task<global::GitHub.Reaction> ReactionsCreateForCommitCommentAsync(
string owner,
string repo,
int commentId,
long commentId,
global::GitHub.ReactionsCreateForCommitCommentRequestContent content,
global::System.Threading.CancellationToken cancellationToken = default)
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,14 @@ partial void PrepareReactionsCreateForIssueCommentArguments(
global::System.Net.Http.HttpClient httpClient,
ref string owner,
ref string repo,
ref int commentId,
ref long commentId,
global::GitHub.ReactionsCreateForIssueCommentRequest request);
partial void PrepareReactionsCreateForIssueCommentRequest(
global::System.Net.Http.HttpClient httpClient,
global::System.Net.Http.HttpRequestMessage httpRequestMessage,
string owner,
string repo,
int commentId,
long commentId,
global::GitHub.ReactionsCreateForIssueCommentRequest request);
partial void ProcessReactionsCreateForIssueCommentResponse(
global::System.Net.Http.HttpClient httpClient,
Expand All @@ -40,7 +40,7 @@ partial void ProcessReactionsCreateForIssueCommentResponseContent(
public async global::System.Threading.Tasks.Task<global::GitHub.Reaction> ReactionsCreateForIssueCommentAsync(
string owner,
string repo,
int commentId,
long commentId,
global::GitHub.ReactionsCreateForIssueCommentRequest request,
global::System.Threading.CancellationToken cancellationToken = default)
{
Expand Down Expand Up @@ -128,7 +128,7 @@ partial void ProcessReactionsCreateForIssueCommentResponseContent(
public async global::System.Threading.Tasks.Task<global::GitHub.Reaction> ReactionsCreateForIssueCommentAsync(
string owner,
string repo,
int commentId,
long commentId,
global::GitHub.ReactionsCreateForIssueCommentRequestContent content,
global::System.Threading.CancellationToken cancellationToken = default)
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,14 @@ partial void PrepareReactionsCreateForPullRequestReviewCommentArguments(
global::System.Net.Http.HttpClient httpClient,
ref string owner,
ref string repo,
ref int commentId,
ref long commentId,
global::GitHub.ReactionsCreateForPullRequestReviewCommentRequest request);
partial void PrepareReactionsCreateForPullRequestReviewCommentRequest(
global::System.Net.Http.HttpClient httpClient,
global::System.Net.Http.HttpRequestMessage httpRequestMessage,
string owner,
string repo,
int commentId,
long commentId,
global::GitHub.ReactionsCreateForPullRequestReviewCommentRequest request);
partial void ProcessReactionsCreateForPullRequestReviewCommentResponse(
global::System.Net.Http.HttpClient httpClient,
Expand All @@ -40,7 +40,7 @@ partial void ProcessReactionsCreateForPullRequestReviewCommentResponseContent(
public async global::System.Threading.Tasks.Task<global::GitHub.Reaction> ReactionsCreateForPullRequestReviewCommentAsync(
string owner,
string repo,
int commentId,
long commentId,
global::GitHub.ReactionsCreateForPullRequestReviewCommentRequest request,
global::System.Threading.CancellationToken cancellationToken = default)
{
Expand Down Expand Up @@ -128,7 +128,7 @@ partial void ProcessReactionsCreateForPullRequestReviewCommentResponseContent(
public async global::System.Threading.Tasks.Task<global::GitHub.Reaction> ReactionsCreateForPullRequestReviewCommentAsync(
string owner,
string repo,
int commentId,
long commentId,
global::GitHub.ReactionsCreateForPullRequestReviewCommentRequestContent content,
global::System.Threading.CancellationToken cancellationToken = default)
{
Expand Down
Loading
Loading