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:@coderabbitai #25

Merged
merged 1 commit into from
Aug 31, 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 @@ -42,7 +42,7 @@ partial void ProcessActionsDeleteActionsCacheByKeyResponseContent(
string owner,
string repo,
string key,
string? @ref,
string? @ref = default,
global::System.Threading.CancellationToken cancellationToken = default)
{
PrepareArguments(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,12 +61,12 @@ partial void ProcessActionsGetActionsCacheListResponseContent(
public async global::System.Threading.Tasks.Task<global::GitHub.ActionsCacheList> ActionsGetActionsCacheListAsync(
string owner,
string repo,
int perPage,
int page,
string? @ref,
string? key,
global::GitHub.ActionsGetActionsCacheListSort? sort,
global::GitHub.ActionsGetActionsCacheListDirection? direction,
int perPage = 30,
int page = 1,
string? @ref = default,
string? key = default,
global::GitHub.ActionsGetActionsCacheListSort? sort = global::GitHub.ActionsGetActionsCacheListSort.LastAccessedAt,
global::GitHub.ActionsGetActionsCacheListDirection? direction = global::GitHub.ActionsGetActionsCacheListDirection.Desc,
global::System.Threading.CancellationToken cancellationToken = default)
{
PrepareArguments(
Expand All @@ -84,7 +84,7 @@ partial void ProcessActionsGetActionsCacheListResponseContent(

using var httpRequest = new global::System.Net.Http.HttpRequestMessage(
method: global::System.Net.Http.HttpMethod.Get,
requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/repos/{owner}/{repo}/actions/caches?per_page={perPage}&page={page}&ref={@ref}&key={key}&sort={sort}&direction={direction}", global::System.UriKind.RelativeOrAbsolute));
requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/repos/{owner}/{repo}/actions/caches?per_page={perPage}&page={page}&ref={@ref}&key={key}&sort={(global::System.Uri.EscapeDataString(sort?.ToValueString() ?? string.Empty))}&direction={(global::System.Uri.EscapeDataString(direction?.ToValueString() ?? string.Empty))}", global::System.UriKind.RelativeOrAbsolute));

PrepareRequest(
client: _httpClient,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,8 @@ partial void ProcessActionsGetActionsCacheUsageByRepoForOrgResponseContent(
/// <exception cref="global::System.InvalidOperationException"></exception>
public async global::System.Threading.Tasks.Task<global::GitHub.ActionsGetActionsCacheUsageByRepoForOrgResponse> ActionsGetActionsCacheUsageByRepoForOrgAsync(
string org,
int perPage,
int page,
int perPage = 30,
int page = 1,
global::System.Threading.CancellationToken cancellationToken = default)
{
PrepareArguments(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ partial void ProcessActionsGetWorkflowRunResponseContent(
string owner,
string repo,
int runId,
bool excludePullRequests,
bool excludePullRequests = false,
global::System.Threading.CancellationToken cancellationToken = default)
{
PrepareArguments(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ partial void ProcessActionsGetWorkflowRunAttemptResponseContent(
string repo,
int runId,
int attemptNumber,
bool excludePullRequests,
bool excludePullRequests = false,
global::System.Threading.CancellationToken cancellationToken = default)
{
PrepareArguments(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,9 @@ partial void ProcessActionsListArtifactsForRepoResponseContent(
public async global::System.Threading.Tasks.Task<global::GitHub.ActionsListArtifactsForRepoResponse> ActionsListArtifactsForRepoAsync(
string owner,
string repo,
int perPage,
int page,
string? name,
int perPage = 30,
int page = 1,
string? name = default,
global::System.Threading.CancellationToken cancellationToken = default)
{
PrepareArguments(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,8 @@ partial void ProcessActionsListEnvironmentSecretsResponseContent(
string owner,
string repo,
string environmentName,
int perPage,
int page,
int perPage = 30,
int page = 1,
global::System.Threading.CancellationToken cancellationToken = default)
{
PrepareArguments(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,8 @@ partial void ProcessActionsListEnvironmentVariablesResponseContent(
string owner,
string repo,
string environmentName,
int perPage,
int page,
int perPage = 10,
int page = 1,
global::System.Threading.CancellationToken cancellationToken = default)
{
PrepareArguments(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,9 +56,9 @@ partial void ProcessActionsListJobsForWorkflowRunResponseContent(
string owner,
string repo,
int runId,
global::GitHub.ActionsListJobsForWorkflowRunFilter? filter,
int perPage,
int page,
global::GitHub.ActionsListJobsForWorkflowRunFilter? filter = global::GitHub.ActionsListJobsForWorkflowRunFilter.Latest,
int perPage = 30,
int page = 1,
global::System.Threading.CancellationToken cancellationToken = default)
{
PrepareArguments(
Expand All @@ -74,7 +74,7 @@ partial void ProcessActionsListJobsForWorkflowRunResponseContent(

using var httpRequest = new global::System.Net.Http.HttpRequestMessage(
method: global::System.Net.Http.HttpMethod.Get,
requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/repos/{owner}/{repo}/actions/runs/{runId}/jobs?filter={filter}&per_page={perPage}&page={page}", global::System.UriKind.RelativeOrAbsolute));
requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/repos/{owner}/{repo}/actions/runs/{runId}/jobs?filter={(global::System.Uri.EscapeDataString(filter?.ToValueString() ?? string.Empty))}&per_page={perPage}&page={page}", global::System.UriKind.RelativeOrAbsolute));

PrepareRequest(
client: _httpClient,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,8 @@ partial void ProcessActionsListJobsForWorkflowRunAttemptResponseContent(
string repo,
int runId,
int attemptNumber,
int perPage,
int page,
int perPage = 30,
int page = 1,
global::System.Threading.CancellationToken cancellationToken = default)
{
PrepareArguments(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,8 @@ partial void ProcessActionsListOrgSecretsResponseContent(
/// <exception cref="global::System.InvalidOperationException"></exception>
public async global::System.Threading.Tasks.Task<global::GitHub.ActionsListOrgSecretsResponse> ActionsListOrgSecretsAsync(
string org,
int perPage,
int page,
int perPage = 30,
int page = 1,
global::System.Threading.CancellationToken cancellationToken = default)
{
PrepareArguments(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,8 @@ partial void ProcessActionsListOrgVariablesResponseContent(
/// <exception cref="global::System.InvalidOperationException"></exception>
public async global::System.Threading.Tasks.Task<global::GitHub.ActionsListOrgVariablesResponse> ActionsListOrgVariablesAsync(
string org,
int perPage,
int page,
int perPage = 10,
int page = 1,
global::System.Threading.CancellationToken cancellationToken = default)
{
PrepareArguments(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,8 @@ partial void ProcessActionsListRepoOrganizationSecretsResponseContent(
public async global::System.Threading.Tasks.Task<global::GitHub.ActionsListRepoOrganizationSecretsResponse> ActionsListRepoOrganizationSecretsAsync(
string owner,
string repo,
int perPage,
int page,
int perPage = 30,
int page = 1,
global::System.Threading.CancellationToken cancellationToken = default)
{
PrepareArguments(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,8 @@ partial void ProcessActionsListRepoOrganizationVariablesResponseContent(
public async global::System.Threading.Tasks.Task<global::GitHub.ActionsListRepoOrganizationVariablesResponse> ActionsListRepoOrganizationVariablesAsync(
string owner,
string repo,
int perPage,
int page,
int perPage = 10,
int page = 1,
global::System.Threading.CancellationToken cancellationToken = default)
{
PrepareArguments(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,8 @@ partial void ProcessActionsListRepoSecretsResponseContent(
public async global::System.Threading.Tasks.Task<global::GitHub.ActionsListRepoSecretsResponse> ActionsListRepoSecretsAsync(
string owner,
string repo,
int perPage,
int page,
int perPage = 30,
int page = 1,
global::System.Threading.CancellationToken cancellationToken = default)
{
PrepareArguments(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,8 @@ partial void ProcessActionsListRepoVariablesResponseContent(
public async global::System.Threading.Tasks.Task<global::GitHub.ActionsListRepoVariablesResponse> ActionsListRepoVariablesAsync(
string owner,
string repo,
int perPage,
int page,
int perPage = 10,
int page = 1,
global::System.Threading.CancellationToken cancellationToken = default)
{
PrepareArguments(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,8 @@ partial void ProcessActionsListRepoWorkflowsResponseContent(
public async global::System.Threading.Tasks.Task<global::GitHub.ActionsListRepoWorkflowsResponse> ActionsListRepoWorkflowsAsync(
string owner,
string repo,
int perPage,
int page,
int perPage = 30,
int page = 1,
global::System.Threading.CancellationToken cancellationToken = default)
{
PrepareArguments(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,8 @@ partial void ProcessActionsListSelectedReposForOrgSecretResponseContent(
public async global::System.Threading.Tasks.Task<global::GitHub.ActionsListSelectedReposForOrgSecretResponse> ActionsListSelectedReposForOrgSecretAsync(
string org,
string secretName,
int page,
int perPage,
int page = 1,
int perPage = 30,
global::System.Threading.CancellationToken cancellationToken = default)
{
PrepareArguments(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,8 @@ partial void ProcessActionsListSelectedReposForOrgVariableResponseContent(
public async global::System.Threading.Tasks.Task<global::GitHub.ActionsListSelectedReposForOrgVariableResponse> ActionsListSelectedReposForOrgVariableAsync(
string org,
string name,
int page,
int perPage,
int page = 1,
int perPage = 30,
global::System.Threading.CancellationToken cancellationToken = default)
{
PrepareArguments(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@ partial void ProcessActionsListSelectedRepositoriesEnabledGithubActionsOrganizat
/// <exception cref="global::System.InvalidOperationException"></exception>
public async global::System.Threading.Tasks.Task<global::GitHub.ActionsListSelectedRepositoriesEnabledGithubActionsOrganizationResponse> ActionsListSelectedRepositoriesEnabledGithubActionsOrganizationAsync(
string org,
int perPage,
int page,
int perPage = 30,
int page = 1,
global::System.Threading.CancellationToken cancellationToken = default)
{
PrepareArguments(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,10 +44,10 @@ partial void ProcessActionsListSelfHostedRunnersForOrgResponseContent(
/// <param name="cancellationToken">The token to cancel the operation with</param>
/// <exception cref="global::System.InvalidOperationException"></exception>
public async global::System.Threading.Tasks.Task<global::GitHub.ActionsListSelfHostedRunnersForOrgResponse> ActionsListSelfHostedRunnersForOrgAsync(
string? name,
string org,
int perPage,
int page,
string? name = default,
int perPage = 30,
int page = 1,
global::System.Threading.CancellationToken cancellationToken = default)
{
PrepareArguments(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,11 +47,11 @@ partial void ProcessActionsListSelfHostedRunnersForRepoResponseContent(
/// <param name="cancellationToken">The token to cancel the operation with</param>
/// <exception cref="global::System.InvalidOperationException"></exception>
public async global::System.Threading.Tasks.Task<global::GitHub.ActionsListSelfHostedRunnersForRepoResponse> ActionsListSelfHostedRunnersForRepoAsync(
string? name,
string owner,
string repo,
int perPage,
int page,
string? name = default,
int perPage = 30,
int page = 1,
global::System.Threading.CancellationToken cancellationToken = default)
{
PrepareArguments(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,9 @@ partial void ProcessActionsListWorkflowRunArtifactsResponseContent(
string owner,
string repo,
int runId,
int perPage,
int page,
string? name,
int perPage = 30,
int page = 1,
string? name = default,
global::System.Threading.CancellationToken cancellationToken = default)
{
PrepareArguments(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,16 +76,16 @@ partial void ProcessActionsListWorkflowRunsResponseContent(
string owner,
string repo,
global::System.OneOf<int?, string> workflowId,
string? actor,
string? branch,
string? @event,
global::GitHub.ActionsListWorkflowRunsStatus? status,
int perPage,
int page,
global::System.DateTime created,
bool excludePullRequests,
int checkSuiteId,
string? headSha,
string? actor = default,
string? branch = default,
string? @event = default,
global::GitHub.ActionsListWorkflowRunsStatus? status = default,
int perPage = 30,
int page = 1,
global::System.DateTime created = default,
bool excludePullRequests = false,
int checkSuiteId = default,
string? headSha = default,
global::System.Threading.CancellationToken cancellationToken = default)
{
PrepareArguments(
Expand All @@ -108,7 +108,7 @@ partial void ProcessActionsListWorkflowRunsResponseContent(

using var httpRequest = new global::System.Net.Http.HttpRequestMessage(
method: global::System.Net.Http.HttpMethod.Get,
requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/repos/{owner}/{repo}/actions/workflows/{workflowId}/runs?actor={actor}&branch={branch}&event={@event}&status={status}&per_page={perPage}&page={page}&created={created:yyyy-MM-ddTHH:mm:ssZ}&exclude_pull_requests={excludePullRequests}&check_suite_id={checkSuiteId}&head_sha={headSha}", global::System.UriKind.RelativeOrAbsolute));
requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/repos/{owner}/{repo}/actions/workflows/{workflowId}/runs?actor={actor}&branch={branch}&event={@event}&status={(global::System.Uri.EscapeDataString(status?.ToValueString() ?? string.Empty))}&per_page={perPage}&page={page}&created={created:yyyy-MM-ddTHH:mm:ssZ}&exclude_pull_requests={excludePullRequests}&check_suite_id={checkSuiteId}&head_sha={headSha}", global::System.UriKind.RelativeOrAbsolute));

PrepareRequest(
client: _httpClient,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -73,16 +73,16 @@ partial void ProcessActionsListWorkflowRunsForRepoResponseContent(
public async global::System.Threading.Tasks.Task<global::GitHub.ActionsListWorkflowRunsForRepoResponse> ActionsListWorkflowRunsForRepoAsync(
string owner,
string repo,
string? actor,
string? branch,
string? @event,
global::GitHub.ActionsListWorkflowRunsForRepoStatus? status,
int perPage,
int page,
global::System.DateTime created,
bool excludePullRequests,
int checkSuiteId,
string? headSha,
string? actor = default,
string? branch = default,
string? @event = default,
global::GitHub.ActionsListWorkflowRunsForRepoStatus? status = default,
int perPage = 30,
int page = 1,
global::System.DateTime created = default,
bool excludePullRequests = false,
int checkSuiteId = default,
string? headSha = default,
global::System.Threading.CancellationToken cancellationToken = default)
{
PrepareArguments(
Expand All @@ -104,7 +104,7 @@ partial void ProcessActionsListWorkflowRunsForRepoResponseContent(

using var httpRequest = new global::System.Net.Http.HttpRequestMessage(
method: global::System.Net.Http.HttpMethod.Get,
requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/repos/{owner}/{repo}/actions/runs?actor={actor}&branch={branch}&event={@event}&status={status}&per_page={perPage}&page={page}&created={created:yyyy-MM-ddTHH:mm:ssZ}&exclude_pull_requests={excludePullRequests}&check_suite_id={checkSuiteId}&head_sha={headSha}", global::System.UriKind.RelativeOrAbsolute));
requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/repos/{owner}/{repo}/actions/runs?actor={actor}&branch={branch}&event={@event}&status={(global::System.Uri.EscapeDataString(status?.ToValueString() ?? string.Empty))}&per_page={perPage}&page={page}&created={created:yyyy-MM-ddTHH:mm:ssZ}&exclude_pull_requests={excludePullRequests}&check_suite_id={checkSuiteId}&head_sha={headSha}", global::System.UriKind.RelativeOrAbsolute));

PrepareRequest(
client: _httpClient,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,8 @@ partial void ProcessActivityListEventsForAuthenticatedUserResponseContent(
/// <exception cref="global::System.InvalidOperationException"></exception>
public async global::System.Threading.Tasks.Task<global::System.Collections.Generic.IList<global::GitHub.Event>> ActivityListEventsForAuthenticatedUserAsync(
string username,
int perPage,
int page,
int perPage = 30,
int page = 1,
global::System.Threading.CancellationToken cancellationToken = default)
{
PrepareArguments(
Expand Down
Loading
Loading